html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px;
}


/* Style for the active pagination link */
.pagination .page-item.active .page-link {
    background-color: #007bff; /* Example: Blue background */
    color: white; /* Example: White text */
    border-color: #007bff; /* Example: Blue border */
    cursor: default; /* Indicate it's the current page */
    border-radius: 1rem;
    /*padding: 14px 17px 12px 14px;*/
}

.pagination .page-item .page-link {
    background-color: grey; /* Example: Blue background */
    color: white; /* Example: White text */
    border-color: grey; /* Example: Blue border */
    cursor: default; /* Indicate it's the current page */
    border-radius: 1rem;
    margin-right: 5px;
}

/* wwwroot/css/site.css or directly in <style> tag in the view */
.strengths-table th:nth-child(3), /* Top Strengths column (3rd th) */
.strengths-table td:nth-child(3) { /* Top Strengths cells (3rd td) */
    width: 35%; /* Adjust percentage as needed */
    word-wrap: break-word; /* Prevents long words from breaking layout */
    white-space: normal; /* Allows text to wrap */
}

.strengths-table th:nth-child(4), /* Description column (4th th) */
.strengths-table td:nth-child(4) { /* Description cells (4th td) */
    width: 35%; /* Adjust percentage as needed */
    word-wrap: break-word; /* Prevents long words from breaking layout */
    white-space: normal; /* Allows text to wrap */
}

/* Optional: Ensure table-layout fixed */
.strengths-table {
    table-layout: fixed; /* Forces column widths to adhere strictly to percentages */
}


/* Add this to your CSS file, e.g., site.css, or a <style> block */
.btn-animate-pop {
    transition: transform 0.2s ease-in-out; /* Smooth transition for transform property */
}

.btn-animate-pop:hover {
    transform: scale(2.05); /* Slightly enlarge the button */
}

/* Add this to your CSS file */
.btn-animate-lift {
    transition: transform 0.2s ease-out, box-shadow 0.2s ease-out;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); /* Initial subtle shadow */
}

    .btn-animate-lift:hover {
        transform: translateY(-2px); /* Move button up by 2 pixels */
        box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3); /* Larger, more pronounced shadow */
    }

/* Add this to your main CSS file (e.g., wwwroot/css/site.css) */

.btn-animate-bounce {
    /* Ensure display property allows transform */
    display: inline-block; /* Or block, depending on desired layout */
    vertical-align: middle;
}

    .btn-animate-bounce:hover {
        animation: bounce 0.6s ease-in-out forwards !important; /* Add !important for testing, and 'forwards' */
    }

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }

    20% {
        transform: translateY(-6px);
    }

    40% {
        transform: translateY(0);
    }

    60% {
        transform: translateY(-3px);
    }

    80% {
        transform: translateY(0);
    }
}

/* Loading spinner styles */
.spinner-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    visibility: hidden;
    opacity: 0;
    transition: visibility 0s, opacity 0.3s;
}

    .spinner-overlay.active {
        visibility: visible;
        opacity: 1;
    }

.spinner-container {
    background-color: white;
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 2s linear infinite;
    margin: 0 auto 1rem auto;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* ... existing CSS ... */

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Add this new class for the feathering effect */
.feather-edge {
    -webkit-mask-image: radial-gradient(ellipse at center, black 50%, transparent 90%);
    mask-image: radial-gradient(ellipse at center, black 50%, transparent 90%);
}

.modal-body-bg {
    position: relative;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    min-height: 500px;
    overflow: hidden;
}
.modal-bg-dim {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.65); /* 0.45 = 65% dim, adjust as needed */
    z-index: 1;
    pointer-events: none;
}
.modal-body-overlay {
    position: relative;
    z-index: 2;
    background: rgba(255,255,255,0.25); /* 25% white overlay for readability */
    padding: 1rem;
    border-radius: 0.5rem;
}