/* ====== Layout & Resets ====== */

.page {
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: visible;
    min-width: 0;
}

main {
    flex: 1;
    margin: 0;
    overflow: visible;
    min-width: 0;
}

.sidebar {
    overflow: hidden;
    background-color: #111;
    color: #fff;
    height: 80vh;
    width: 100px;
    padding: 10px;
}

.content {
    overflow: visible;
    padding: 24px min(4vw, 32px);
    min-width: 0;
}

    .content > :first-child {
        margin-top: 0 !important;
    }

html {
    overflow-y: scroll;
}

html, body {
    overflow-x: clip;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

img, video {
    max-width: 100%;
    height: auto;
    display: block;
}

pre {
    white-space: pre-wrap;
    word-wrap: break-word;
}

/* ====== Theme Vars ====== */
:root {
    --header-h: 60px;
    --gt-banner: 0px;
    --text: #111827;
    --border: #e5e7eb;
}

html.translated-ltr,
html.translated-rtl {
    --gt-banner: 40px;
}

/* ====== Base ====== */
html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    background: linear-gradient(to right, #eaeaea, #cfcfcf);
    background-size: cover;
    color: #000;
    margin: 0;
    padding: 0;
}

body {
    padding-top: calc(var(--gt-banner) + var(--header-h));
}

html {
    scroll-padding-top: calc(var(--header-h) + var(--gt-banner));
}

a, .btn-link {
    color: #EFBA02;
    text-decoration-line: none;
}

h1, h2, h3, h4 {
    color: #EFBA02;
    font-family: Helvetica, Arial, sans-serif;
}

h1 {
    font-size: 52px;
}

h2 {
    font-size: 42px;
}

h3 {
    font-size: 32px;
}

h4 {
    font-size: 24px;
}

h1:focus {
    outline: none;
}

input[type="radio"] {
    width: 20px; /* default is ~16px */
    height: 20px; /* increase both width & height */
    transform: scale(1.5); /* alternative: scale up */
    margin-right: 8px; /* spacing between circle and text */
}

.radio-label {
    font-size: 20px; /* or any size you want */
    font-weight: bold;
}

/* Global paragraph style */
p {
    color: #000;
    text-align: center;
    font-size: 16px;
    line-height: 2.5rem;
}

/* Button Styling */

.btn-primary {
    background-color: #ffc107;
    border-color: #ffc107;
    color: black;
    padding: 12px 25px;
    font-size: 1.2rem;
    font-weight: bold;
    border-radius: 8px;
    transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
}

    /* Hover Effect */
    .btn-primary:hover {
        background-color: #d9a600;
        border-color: #d9a600;
        color: white;
    }

.btn-secondary {
    background-color: #6c757d;
    border-color: #6c757d;
    color: #fff;
    padding: 12px 25px;
    font-size: 1.05rem;
    font-weight: bold;
    border-radius: 8px;
    transition: all 0.3s ease-in-out;
}

    .btn-secondary:hover {
        background-color: #5a6268;
        border-color: #545b62;
    }

.btn-warning {
    color: #000;
    background-color: #e5b200;
    border: none;
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: bold;
    border-radius: 8px;
}

    .btn-warning:hover {
        background-color: #d1a100;
    }

/* Small action buttons */
.btn-sm {
    margin: 2px;
    font-size: 0.9rem;
    padding: 6px 10px;
}

/* Focus */
.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus {
    box-shadow: 0 0 0 0.1rem #fff, 0 0 0 0.25rem #258cfb;
}

/* Validation */
.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

/* ====== Blazor error boundary ====== */
.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: #fff;
}

    .blazor-error-boundary::after {
        content: "An error has occurred.";
    }

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}

/* ====== Top Row & Responsive ====== */
.top-row {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

/* ====== Header ====== */
.header-logged-in {
    background: #000;
    margin: 1vh;
    padding: 2vh;
    text-align: center;
    height: 9vh;
    width: 100%;
}

    .header-logged-in p {
        color: #fff;
        font-size: 2.0rem;
    }

.header {
    position: fixed;
    top: calc(var(--gt-banner) + env(safe-area-inset-top, 0px));
    left: 0;
    right: 0;
    box-sizing: border-box;
    z-index: 1000;
    height: var(--header-h);
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 0 16px;
    background-color: #EFBA02;
    color: var(--text);
    border-bottom: 1px solid var(--border);
    backdrop-filter: saturate(1.2) blur(6px);
    -webkit-backdrop-filter: saturate(1.2) blur(6px);
    box-shadow: 0 2px 12px rgba(15,23,42,.06);
}

    .header p {
        text-align: left;
    }

.lang-switch {
    margin-left: auto;
    display: flex;
    align-items: center;
}

    .lang-switch select {
        appearance: none;
        font: 500 14px/1 system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
        padding: 8px 34px 8px 12px;
        border: 1px solid var(--border);
        border-radius: 999px;
        background: #fff;
        cursor: pointer;
        transition: box-shadow .15s ease, border-color .15s ease;
        background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5l5 5 5-5' stroke='%236b7280' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: right 12px center;
        background-size: 12px 8px;
    }

        .lang-switch select:hover {
            border-color: #cfd4dc;
        }

        .lang-switch select:focus {
            outline: none;
            border-color: #93c5fd;
            box-shadow: 0 0 0 3px rgba(59,130,246,.25);
        }

.time {
    margin-left: 20px;
    font-weight: bold;
}

.md3, .md-4 {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 12px 0 20px;
}

    .md3 p, .md-4 p {
        margin: 0;
        font-size: 14px;
        line-height: 1;
        color: #fff;
    }

        .md3 p strong, .md-4 p strong {
            color: #111827;
            font-weight: 600;
        }

    .md-4 p {
        font-variant-numeric: tabular-nums;
        font-feature-settings: "tnum";
        letter-spacing: .2px;
    }

    .md3 p .tz {
        padding: 2px 8px;
        border: 1px solid #e5e7eb;
        border-radius: 999px;
        background: #f3f4f6;
        color: #374151;
        font-size: 12px;
    }

/* ====== Footer (UNCHANGED) ====== */
.footer {
    background-color: #000;
    text-align: center;
    color: #fff;
    height: 26vh;
    width: 100%;
}

.footer-link {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
    margin: 20px 0 50px 0;
}

    .footer-link:hover {
        color: #ffc107;
    }

.footer .container {
    width: 100%;
    max-width: 1100px;
    padding: 20px 20px;
    margin: 0 auto;
}

/* ====== Content helpers ====== */
.container {
    width: 100%;
    max-width: 1100px;
    padding: 20px 20px;
}

.content-row {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: center;
    justify-content: space-between;
}

.image-wrapper {
    position: relative;
    padding-bottom: 40px;
}

    .image-wrapper img {
        width: 100%;
        border-radius: 8px;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    }

.stats-overlay {
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    flex-wrap: wrap;
}

.stat-card {
    background-color: #f5f5f5;
    border-radius: 8px;
    padding: 20px 30px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    min-width: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: transform 0.2s ease-in-out;
}

    .stat-card:hover {
        transform: translateY(-5px);
    }

.text-block {
    background-color: #eaeaea;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 20px;
    color: #333;
    line-height: 1.8;
}

.card-img-container img {
    width: 100%;
    height: 80vh;
}

.content-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    background-color: #fff;
    padding: 2rem;
}

/* ====== Hero / Carousel ====== */
.hero-section {
    display: flex;
    position: relative;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding: 0 15px;
}

.carousel-inner {
    height: 80vh;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex-direction: column;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 50px 20px;
}

    .hero-overlay p {
        font-size: 1.2rem;
        margin: 20px;
        line-height: 1.5;
    }

.hero-section .container {
    position: relative;
    z-index: 2;
}

.carousel-item img {
    height: 100%;
    object-fit: cover;
}

.profile-image {
    flex: 1 1 300px;
    max-width: 100%;
}

    .profile-image img {
        width: 100%;
        border-radius: 10px;
        object-fit: cover;
    }

.text-content {
    flex: 1 1 400px;
    max-width: 100%;
}

    .text-content h2 {
        font-size: 2.5rem;
        color: #ffc107;
        font-weight: bold;
        margin-bottom: 1rem;
        text-align: left;
    }

    .text-content p {
        font-size: 1rem;
        color: #333;
        text-align: justify;
        line-height: 1.8;
    }

.text-content_, .text-content2_ {
    flex: 1 1 300px;
    max-width: 500px;
    text-align: left;
}

/* ====== Section Variants ====== */

.gray-section {
    background-color: #e0e0e0;
    padding: 50px 0;
    text-align: center;
}

    .gray-section h2 {
        font-size: 1.8rem;
        font-weight: bold;
        margin-bottom: 20px;
    }

    .gray-section ul {
        list-style-type: none;
        padding-left: 40px;
    }

        .gray-section ul li {
            font-size: 1.1rem;
            margin-bottom: 10px;
        }

    .gray-section p {
        font-size: 1.1rem;
        max-width: 800px;
        margin: 0 auto;
    }

.g-section {
    background-color: #e0e0e0;
    padding: 50px 0;
    text-align: left;
}

    .g-section h2 {
        font-size: 1.8rem;
        font-weight: bold;
        margin-bottom: 20px;
        text-align: center;
    }

    .g-section ul {
        list-style-type: none;
        padding-left: 40px;
        line-height: 2;
        text-align: center;
    }

        .g-section ul li {
            font-size: 1.1rem;
            margin-bottom: 10px;
        }

    .g-section p {
        font-size: 1.1rem;
        max-width: 800px;
        margin: 0 auto;
    }

/* ====== Images & Cards ====== */

.img-fluid {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
}

.hero-slide {
    height: 100vh;
    width: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    -webkit-transform: translate3d(0,0,0);
    -webkit-backface-visibility: hidden;
    position: relative;
}

.lead {
    font-size: 1.5rem;
    color: #fff;
}

/* Flip Card */
.flip-card {
    background-color: transparent;
    width: 100%;
    height: 350px;
    perspective: 1000px;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform .8s;
    transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front, .flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 10px;
    overflow: hidden;
}

.flip-card-front {
    background-color: #efefef;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .flip-card-front img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.flip-card-back {
    background-color: #f8f9fa;
    transform: rotateY(180deg);
    padding: 20px;
    color: #000;
    text-align: left;
    box-shadow: 0 4px 12px rgba(0,0,0,.1);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.card-details p {
    margin-bottom: .5rem;
    font-size: .95rem;
    line-height: 2.0;
    text-align: left;
}

/* Alert */
.alert-box {
    background-color: #d9534f;
    color: white;
    padding: 10px 20px;
    font-weight: bold;
    border-radius: 6px;
}

/* ========================= CASE MODULE STYLES ========================= */

/* Text inputs */
input.form-control,
textarea.form-control {
    font-size: 1rem;
    border-radius: 6px;
    padding: 12px;
    border: 1px solid #ccc;
}

    input.form-control:focus,
    textarea.form-control:focus {
        border-color: #EFBA02;
        box-shadow: 0 0 5px rgba(239, 186, 2, 0.5);
        outline: none;
    }

/* Dropdowns (Bootstrap look) */
select.form-select {
    width: 100%;
    padding: 12px 16px;
    font-size: 1rem;
    font-weight: 500;
    color: #333;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 6px;
    transition: border-color 0.3s, box-shadow 0.3s;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='14' height='10' viewBox='0 0 14 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L7 9L13 1' stroke='%23666' stroke-width='2'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 14px 10px;
}

    select.form-select:focus {
        border-color: #EFBA02;
        box-shadow: 0 0 5px rgba(239, 186, 2, 0.5);
        outline: none;
    }

/* Tables inside forms */
.table-responsive {
    overflow-x: auto;
}

.table {
    margin-top: 15px;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
}

    .table th, .table td {
        vertical-align: middle;
        text-align: center;
    }

.thead-dark th {
    text-align: center;
    font-size: 1rem;
    padding: 12px;
}

.table-hover tbody tr:hover {
    background-color: #f5f5f5;
}

/* ==================== ADDED GENERAL / FORM GROUP STYLES ============== */

/* General layout overrides */
.row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: 10px 0;
}

/* Placeholders */
.form-control::placeholder {
    color: #999;
    transition: opacity .3s ease-in-out;
}

.form-control:not(:placeholder-shown) {
    background: #fff;
}

.form-control:focus::placeholder {
    opacity: 0;
}

/* Checkboxes */
.form-check {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.form-check-input {
    width: 20px;
    height: 20px;
    margin-right: 10px;
    cursor: pointer;
}

.form-check-label {
    font-weight: bold;
    color: #000;
    cursor: pointer;
}

.form-check-input:focus {
    box-shadow: 0 0 5px rgba(0,0,0,.2);
}

.form-check-input:checked {
    background-color: #ffc107;
    border-color: #ffc107;
}

/* CASE CATEGORY, DESCRIPTION, ANALYSIS, NEXT STAGE Titles */

.case-dropdown {
    justify-content: center;
}

.case-subtitle {
    font-weight: bold;
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #ffc107;
}

/* Case Dropdown */
.case-dropdown {
    width: 50%;
    padding: 10px;
    font-size: 1.1rem;
    border-radius: 8px;
    border: 1px solid #ccc;
    margin-top: 10px;
}

/* Case Textarea */
.case-textarea {
    width: 70%;
    padding: 12px;
    font-size: 1.1rem;
    border-radius: 8px;
    border: 1px solid #ccc;
    resize: vertical;
    margin-top: 10px;
}

/* General Title Styling */
.case-title {
    justify-content: center;
    font-weight: bold;
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #EFBA02;
}

/* Case Info Styling */
.case-info {
    font-size: 1.6rem;
    font-weight: bold;
    color: black;
}

/* Form Controls */
.case-input, .case-textarea {
    width: 100%;
    padding: 12px;
    font-size: 1.1rem;
    border-radius: 8px;
    border: 1px solid #ccc;
    margin-top: 10px;
}

/* Case Description Box */
.case-description-box {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    margin-top: 10px;
}

/* Case Description */
.case-description {
    font-size: 1.1rem;
    color: #333;
    line-height: 1.6;
    font-style: italic;
}

/* Responsive Table */
.table-responsive {
    overflow-x: auto;
}

/* Table Enhancements (list pages) */
.table {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    margin-top: 10px; 
}

.thead-dark th {
    text-align: center;
    font-size: 1rem;
    padding: 12px;
}

.table-hover tbody tr:hover {
    background-color: #f5f5f5;
}

/* Table Styling */
.table-responsive {
    overflow-x: auto;
}

.table {
    margin-top: 15px;
    background: white;
    border-radius: 10px;
    overflow: hidden;
}

/* Table Header */
.thead-dark th {
    text-align: center;
    font-size: 1rem;
    padding: 12px;
}

/* Table Row Styling */
.table-hover tbody tr:hover {
    background-color: #f5f5f5;
}

/* Text inputs */
input.form-control,
textarea.form-control {
    font-size: 1rem;
    border-radius: 6px;
    padding: 12px;
    border: 1px solid #ccc;
}

    input.form-control:focus,
    textarea.form-control:focus {
        border-color: #EFBA02;
        box-shadow: 0 0 5px rgba(239, 186, 2, 0.5);
        outline: none;
    }

select:disabled {
    background-color: #e9ecef;
    cursor: not-allowed;
}

/* Centered dropdowns */
.dropdown-centered .form-select {
    margin: 0 auto;
    display: block;
}

/* Table inside form (if any) */
.table th,
.table td {
    vertical-align: middle;
    text-align: center;
}

/* Ensuring Full Width */

.col-md-6 {
    padding: 15px;
}

.col-md-12 {
    width: 100%;
    padding: 10px;
}

/* Form-floating overrides */
.form-floating > label {
    padding-left: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #555;
}

.form-floating > .form-control {
    height: 58px;
    font-size: 1rem;
}
/* Floating Label Input Fields */
.form-floating label {
    color: #6c757d;
}

.form-floating .form-control {
    height: 56px;
    border-radius: 8px;
    border: 1px solid #ced4da;
    font-size: 1rem;
    padding: 15px;
    background-color: #f8f9fa;
}

/* Form-floating overrides */
.form-floating > label {
    padding-left: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #555;
}

.form-floating > .form-control {
    height: 58px;
    font-size: 1rem;
}

/* Floating Label Input Fields */
.form-floating label {
    color: #6c757d; /* Gray color for labels */
}


/* Form Group Styling */
.form-floating .form-control {
    height: 56px;
    border-radius: 8px;
    border: 1px solid #ced4da;
    font-size: 1rem;
    padding: 15px;
    background-color: #f8f9fa; /* Light background */
}

.flex-group {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.flex-group {
    width: 48%;
}


/* Placeholder Styling */
.form-control::placeholder {
    color: #999; /* Subtle gray text */
    transition: opacity 0.3s ease-in-out; /* Smooth effect */
}

/* Hide placeholder when typing */
.form-control:not(:placeholder-shown) {
    background: white;
}

/* Hide placeholder when input is focused */
.form-control:focus::placeholder {
    opacity: 0; /* Hides it smoothly */
}


/* Custom Styling for Checkboxes */
.form-check {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

/* Checkbox Input */
.form-check-input {
    width: 20px;
    height: 20px;
    margin-right: 10px;
    cursor: pointer;
}

/* Checkbox Label */
.form-check-label {
    font-weight: bold;
    color: black;
    cursor: pointer;
}

/* Custom Checkbox Focus */
.form-check-input:focus {
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
}

/* Checkbox Checked State */
.form-check-input:checked {
    background-color: #ffc107; /* Yellow */
    border-color: #ffc107;
}


/* Responsive Table */
.table-responsive {
    overflow-x: auto;
}

/* Table Enhancements */
.table {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    margin-top: 10px;
}

.thead-dark th {
    text-align: center;
    font-size: 1rem;
    padding: 12px;
}

.table-hover tbody tr:hover {
    background-color: #f5f5f5;
}

/* Style for the collapsible button */
.accordion-button {
    background-color: #f8f9fa; /* Light gray background */
    font-weight: bold;
    font-size: 1.1rem;
    color: black;
    border: none;
    padding: 15px;
    transition: background-color 0.3s ease-in-out;
    min-height: 60px; /* Increased height */
    text-align: left; /* Ensure button text aligns left */
}

    /* Hover Effect */
    .accordion-button:hover {
        background-color: #e0e0e0;
    }

    /* Expanded Button */
    .accordion-button:not(.collapsed) {
        background-color: #ffc107; /* Yellow when open */
        color: black;
    }

/* Accordion Body */
.accordion-body {
    background: white;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    min-height: 120px; /* Increased height for better readability */
    text-align: left; /* Ensure paragraph text is left-aligned */
}

    /* Paragraph Formatting Inside Collapsible Sections */
    .accordion-body p {
        margin-bottom: 10px; /* Space between paragraphs */
        font-size: 1.0rem;
        color: #333; /* Darker text for readability */
        line-height: 1.2; /* Improve text spacing */
        text-align: justify; /* Ensure text is left-aligned */
    }

/* Add spacing between accordion sections */
.accordion-item {
    margin-bottom: 15px;
}

/* Table Styling */
.table-responsive {
    overflow-x: auto;
}

.table {
    margin-top: 15px;
    background: white;
    border-radius: 10px;
    overflow: hidden;
}

/* Table Header */
.thead-dark th {
    text-align: center;
    font-size: 1rem;
    padding: 12px;
}

/* Table Row Styling */
.table-hover tbody tr:hover {
    background-color: #f5f5f5;
}

/* Tablet Responsive adjustments */

@media (max-width: 768px) {
    .flex-group {
        flex-direction: column;
    }

    .flex-group {
        width: 100%;
    }

    .form-floating {
        margin-bottom: 1.5rem;
    }

    .btn {
        width: 100%;
        margin-bottom: 10px;
    }

    .case-subtitle {
        font-size: 1.25rem;
    }

    select.form-select {
        font-size: 0.95rem;
    }

    .row {
        flex-direction: column;
    }

    .col-md-6 {
        width: 100%;
    }
}

/* Mobile Responsive adjustments */

@media (min-width: 641px) {
    .page {
        flex-direction: row;
    }

    .sidebar {
        width: 250px;
        height: calc(100svh - var(--header-h) - var(--gt-banner));
        position: sticky;
        top: calc(var(--header-h) + var(--gt-banner));
        overflow: auto;
    }

    .top-row {
        position: sticky;
        top: calc(var(--header-h) + var(--gt-banner));
        z-index: 1;
    }

        .top-row.auth a:first-child {
            flex: 1;
            text-align: right;
            width: 0;
        }

    .top-row, article {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}
