@import 'bootstrap/dist/css/bootstrap.min.css';

:root {
    --ku-green: #0d5c3d;
    --ku-green-dark: #08422c;
    --ku-green-light: #e8f5ef;
    --ku-gold: #c9a227;
    --ku-sand: #f6f3ec;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background:
        radial-gradient(ellipse at top left, rgba(13, 92, 61, 0.08), transparent 45%),
        linear-gradient(180deg, #f7faf8 0%, var(--ku-sand) 100%);
    color: #1a2e24;
}

main {
    flex: 1;
}

.navbar-ku {
    background: linear-gradient(135deg, var(--ku-green-dark), var(--ku-green));
    box-shadow: 0 2px 12px rgba(8, 66, 44, 0.25);
}

.navbar-ku .nav-link,
.navbar-ku .navbar-brand {
    color: rgba(255, 255, 255, 0.92) !important;
}

.navbar-ku .nav-link:hover,
.navbar-ku .nav-link.active {
    color: #fff !important;
}

.navbar-ku .nav-link.active {
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 0.35rem;
}

.brand-mark {
    width: 42px;
    height: 42px;
    object-fit: contain;
}

.brand-title {
    line-height: 1.15;
}

.brand-title small {
    display: block;
    font-size: 0.72rem;
    font-weight: 400;
    opacity: 0.85;
}

.btn-ku {
    background-color: var(--ku-green);
    border-color: var(--ku-green);
    color: #fff;
}

.btn-ku:hover,
.btn-ku:focus {
    background-color: var(--ku-green-dark);
    border-color: var(--ku-green-dark);
    color: #fff;
}

.btn-ku-outline {
    border-color: var(--ku-green);
    color: var(--ku-green);
    background: #fff;
}

.btn-ku-outline:hover {
    background-color: var(--ku-green);
    border-color: var(--ku-green);
    color: #fff;
}

.btn-accent {
    background-color: var(--ku-gold);
    border-color: var(--ku-gold);
    color: #1a2e24;
    font-weight: 600;
}

.btn-accent:hover {
    filter: brightness(0.95);
    color: #1a2e24;
}

.card-ku {
    border: 1px solid rgba(13, 92, 61, 0.1);
    box-shadow: 0 8px 24px rgba(26, 46, 36, 0.05);
    background: rgba(255, 255, 255, 0.95);
}

.stat-card {
    border-left: 4px solid var(--ku-green);
}

.stat-card .stat-value {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--ku-green-dark);
}

/* —— Dashboard —— */
.dash-hero {
    position: relative;
    overflow: hidden;
    border-radius: 1.25rem;
    color: #fff;
    background: linear-gradient(135deg, #052e1e 0%, #0d5c3d 55%, #14855a 100%);
    box-shadow: 0 18px 40px rgba(8, 66, 44, 0.2);
    animation: riseIn 0.55s ease-out both;
}

.dash-hero__glow {
    position: absolute;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: rgba(201, 162, 39, 0.22);
    top: -80px;
    right: -40px;
    filter: blur(30px);
    animation: floatGlow 9s ease-in-out infinite;
}

.dash-hero__inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1.75rem 1.75rem 1.85rem;
}

.dash-hero__logo {
    width: 56px;
    height: 56px;
    filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.2));
}

.dash-hero__eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.72rem;
    font-weight: 600;
    color: #e8c96a;
}

.dash-hero__title {
    font-size: clamp(1.45rem, 2.4vw, 1.9rem);
    font-weight: 700;
    line-height: 1.2;
}

.dash-hero__role {
    display: inline-block;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    padding: 0.25rem 0.75rem;
    font-size: 0.8rem;
    font-weight: 600;
}

.dash-hero__text {
    max-width: 36rem;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.55;
}

.dash-hero__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 0.65rem;
}

.dash-stat {
    border: 0;
    border-radius: 1rem;
    overflow: hidden;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
    animation: riseIn 0.55s ease-out both;
    animation-delay: var(--delay, 0s);
}

.dash-stat:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 28px rgba(8, 66, 44, 0.12);
}

.dash-stat__icon {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 0.7rem;
    display: inline-block;
    background:
        radial-gradient(circle at 30% 30%, rgba(255,255,255,0.55), transparent 45%),
        currentColor;
    opacity: 0.9;
}

.dash-stat__hint {
    font-size: 0.7rem;
    color: #7a9086;
    text-align: right;
    max-width: 5.5rem;
    line-height: 1.2;
}

.dash-stat__value {
    font-size: 1.85rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 0.35rem;
    color: var(--ku-green-dark);
}

.dash-stat__label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #3d5549;
}

.dash-stat--total { color: #0d5c3d; border-top: 3px solid #0d5c3d; }
.dash-stat--pending { color: #b78105; border-top: 3px solid #e0a800; }
.dash-stat--progress { color: #0a7ea4; border-top: 3px solid #31b0d5; }
.dash-stat--referred { color: #5c5f6b; border-top: 3px solid #8b90a0; }
.dash-stat--resolved { color: #1f7a4d; border-top: 3px solid #2f9e66; }

.dash-panel {
    border-radius: 1.15rem;
}

.dash-request {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
    padding: 0.95rem 1rem;
    margin: 0.35rem 0;
    border-radius: 0.85rem;
    color: inherit;
    transition: background 0.15s ease, transform 0.15s ease;
}

.dash-request:hover {
    background: var(--ku-green-light);
    transform: translateX(2px);
}

.dash-request__code {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--ku-green);
    letter-spacing: 0.02em;
}

.dash-request__name {
    font-weight: 650;
    color: #1a2e24;
}

.dash-request__meta {
    font-size: 0.8rem;
    color: #6b7f74;
}

.dash-request__side {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.35rem;
    flex-shrink: 0;
}

.dash-request__date {
    font-size: 0.75rem;
    color: #7a9086;
}

.dash-region {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.8rem 0.65rem;
    margin: 0.2rem 0;
    border-radius: 0.85rem;
    color: inherit;
    transition: background 0.15s ease, transform 0.15s ease;
}

.dash-region:hover {
    background: var(--ku-green-light);
    transform: translateX(2px);
    color: inherit;
}

.dash-region__rank {
    flex-shrink: 0;
    width: 2rem;
    height: 2rem;
    border-radius: 0.65rem;
    display: grid;
    place-items: center;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--ku-green-dark);
    background: rgba(13, 92, 61, 0.1);
}

.dash-region:nth-child(1) .dash-region__rank,
.dash-region:nth-child(2) .dash-region__rank,
.dash-region:nth-child(3) .dash-region__rank {
    background: var(--ku-green);
    color: #fff;
}

.dash-region__body {
    flex: 1;
    min-width: 0;
}

.dash-region__name {
    font-weight: 650;
    color: #1a2e24;
}

.dash-region__count {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--ku-green);
    white-space: nowrap;
}

.dash-region__bar {
    height: 0.4rem;
    border-radius: 999px;
    background: rgba(13, 92, 61, 0.1);
    overflow: hidden;
}

.dash-region__bar > span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--ku-green), #1a8f5c);
}

.dash-institution__badge {
    width: auto;
    min-width: 4.25rem;
    height: auto;
    padding: 0.35rem 0.45rem;
    font-size: 0.7rem;
    letter-spacing: 0.02em;
    line-height: 1.1;
    text-align: center;
}

.dash-institution .dash-region__name {
    font-size: 0.82rem;
    font-weight: 600;
    color: #3d5549;
}

.dash-institution__meta {
    margin-top: 0.35rem;
    font-size: 0.72rem;
    color: #7a9086;
}

.dash-action {
    display: block;
    padding: 0.9rem 1rem;
    border-radius: 0.85rem;
    border: 1px solid rgba(13, 92, 61, 0.12);
    background: #fcfdfc;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}

.dash-action:hover {
    border-color: rgba(13, 92, 61, 0.35);
    background: var(--ku-green-light);
    transform: translateY(-1px);
    color: inherit;
}

.dash-action__title {
    display: block;
    font-weight: 650;
    color: var(--ku-green-dark);
    margin-bottom: 0.15rem;
}

.dash-action__desc {
    display: block;
    font-size: 0.8rem;
    color: #6b7f74;
}

.dash-side-note {
    border-radius: 1.15rem;
    background:
        linear-gradient(160deg, rgba(13, 92, 61, 0.08), rgba(201, 162, 39, 0.08)),
        #fff;
}

.dash-side-note__label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--ku-green);
}

.dash-empty {
    border: 1px dashed rgba(13, 92, 61, 0.2);
    border-radius: 1rem;
    margin: 0.5rem;
    background: rgba(232, 245, 239, 0.35);
}

@media (max-width: 575.98px) {
    .dash-hero__inner {
        padding: 1.35rem;
    }

    .dash-hero__actions .btn {
        width: 100%;
    }

    .dash-request {
        flex-direction: column;
        align-items: flex-start;
    }

    .dash-request__side {
        align-items: flex-start;
        flex-direction: row;
        width: 100%;
        justify-content: space-between;
    }
}

.section-title {
    color: var(--ku-green-dark);
    font-weight: 700;
}

.institution-option {
    border: 1px solid rgba(13, 92, 61, 0.15);
    border-radius: 0.75rem;
    padding: 1rem;
    cursor: pointer;
    transition: border-color 0.15s ease, background 0.15s ease;
    background: #fff;
}

.institution-option:hover {
    border-color: rgba(13, 92, 61, 0.45);
}

.institution-option:has(input:checked) {
    border-color: var(--ku-green);
    background: var(--ku-green-light);
}

/* —— Register client form —— */
.form-hero {
    position: relative;
    overflow: hidden;
    border-radius: 1.25rem;
    color: #fff;
    background: linear-gradient(135deg, #052e1e 0%, #0d5c3d 55%, #14855a 100%);
    box-shadow: 0 18px 40px rgba(8, 66, 44, 0.18);
    animation: riseIn 0.5s ease-out both;
}

.form-hero__glow {
    position: absolute;
    width: 240px;
    height: 240px;
    border-radius: 50%;
    background: rgba(201, 162, 39, 0.22);
    top: -70px;
    right: -30px;
    filter: blur(28px);
}

.form-hero__inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1.25rem;
    padding: 1.6rem 1.75rem;
}

.form-hero__eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.72rem;
    font-weight: 600;
    color: #e8c96a;
}

.form-hero__title {
    font-size: clamp(1.45rem, 2.5vw, 1.95rem);
    font-weight: 700;
    margin: 0;
}

.form-hero__text {
    max-width: 34rem;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.55;
}

.form-hero__badge {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 1rem;
    padding: 0.85rem 1.1rem;
    min-width: 11rem;
    text-align: center;
    backdrop-filter: blur(6px);
}

.form-hero__badge-label {
    display: block;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 0.25rem;
}

.form-hero__badge-value {
    display: block;
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
}

.form-steps {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0.5rem;
}

.form-step {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.7rem 0.85rem;
    border-radius: 0.85rem;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(13, 92, 61, 0.1);
    text-decoration: none;
    color: inherit;
    transition: border-color 0.15s ease, transform 0.15s ease, background 0.15s ease;
}

.form-step:hover {
    border-color: rgba(13, 92, 61, 0.35);
    background: var(--ku-green-light);
    transform: translateY(-1px);
    color: inherit;
}

.form-step__num {
    width: 1.65rem;
    height: 1.65rem;
    border-radius: 50%;
    background: var(--ku-green);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    flex-shrink: 0;
}

.form-step__label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--ku-green-dark);
}

.form-section {
    border-radius: 1.15rem;
    scroll-margin-top: 1.25rem;
    animation: riseIn 0.5s ease-out both;
}

.form-section__head {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
}

.form-section__num {
    width: 2.1rem;
    height: 2.1rem;
    border-radius: 0.7rem;
    background: var(--ku-green-light);
    color: var(--ku-green-dark);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.member-toggle {
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
    padding: 1rem;
    border-radius: 0.9rem;
    border: 1px solid rgba(13, 92, 61, 0.15);
    background: #fcfdfc;
    cursor: pointer;
}

.member-toggle input {
    margin-top: 0.2rem;
}

.member-toggle strong {
    display: block;
    color: var(--ku-green-dark);
}

.member-toggle small {
    display: block;
    color: #6b7f74;
    margin-top: 0.15rem;
}

.meeting-choice {
    border-radius: 1rem;
    padding: 1rem;
    height: 100%;
    border: 1px solid rgba(13, 92, 61, 0.12);
}

.meeting-choice--first {
    background: linear-gradient(160deg, rgba(13, 92, 61, 0.08), rgba(13, 92, 61, 0.02));
}

.meeting-choice--second {
    background: linear-gradient(160deg, rgba(201, 162, 39, 0.12), rgba(201, 162, 39, 0.03));
}

.meeting-choice__title {
    font-weight: 700;
    color: var(--ku-green-dark);
    margin-bottom: 0.85rem;
}

.institution-card {
    display: block;
    height: 100%;
    cursor: pointer;
    margin: 0;
}

.institution-card input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.institution-card__body {
    display: block;
    height: 100%;
    padding: 1rem 1.1rem;
    border-radius: 1rem;
    border: 1.5px solid rgba(13, 92, 61, 0.14);
    background: #fff;
    transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.institution-card:hover .institution-card__body {
    border-color: rgba(13, 92, 61, 0.4);
    transform: translateY(-1px);
}

.institution-card input:checked + .institution-card__body {
    border-color: var(--ku-green);
    background: var(--ku-green-light);
    box-shadow: 0 0 0 3px rgba(13, 92, 61, 0.12);
}

.institution-card__name {
    display: block;
    font-weight: 700;
    color: var(--ku-green-dark);
    margin-bottom: 0.25rem;
}

.institution-card__desc {
    display: block;
    font-size: 0.85rem;
    color: #5d7268;
    line-height: 1.4;
}

.form-actions {
    position: sticky;
    bottom: 0.75rem;
    z-index: 20;
    margin-top: 0.5rem;
}

.form-actions__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    padding: 0.9rem 1rem;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(13, 92, 61, 0.12);
    box-shadow: 0 12px 30px rgba(8, 66, 44, 0.14);
    backdrop-filter: blur(8px);
}

.register-form .form-control,
.register-form .form-select {
    border-color: rgba(13, 92, 61, 0.16);
}

.register-form .form-control:focus,
.register-form .form-select:focus {
    border-color: var(--ku-green);
    box-shadow: 0 0 0 0.2rem rgba(13, 92, 61, 0.14);
}

@media (max-width: 767.98px) {
    .form-steps {
        grid-template-columns: repeat(5, minmax(0, 1fr));
        overflow-x: auto;
    }

    .form-step {
        flex-direction: column;
        text-align: center;
        padding: 0.55rem 0.35rem;
        gap: 0.35rem;
    }

    .form-step__label {
        font-size: 0.68rem;
    }

    .form-actions__inner {
        justify-content: stretch;
    }

    .form-actions .btn {
        flex: 1;
    }
}

.timeline {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.timeline-item {
    position: relative;
    padding-left: 1.25rem;
    border-left: 2px solid rgba(13, 92, 61, 0.25);
    padding-bottom: 1.25rem;
    margin-left: 0.35rem;
}

.timeline-item:last-child {
    border-left-color: transparent;
    padding-bottom: 0;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -0.4rem;
    top: 0.35rem;
    width: 0.65rem;
    height: 0.65rem;
    border-radius: 50%;
    background: var(--ku-green);
}

.login-panel {
    max-width: 440px;
}

/* —— Attractive login page —— */
.login-body {
    background: #fff;
    min-height: 100vh;
}

.login-shell {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    min-height: 100vh;
}

.login-hero {
    position: relative;
    overflow: hidden;
    color: #fff;
    background:
        linear-gradient(145deg, #052e1e 0%, #0d5c3d 48%, #117a50 100%);
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.login-hero__glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    pointer-events: none;
}

.login-hero__glow--one {
    width: 280px;
    height: 280px;
    background: rgba(201, 162, 39, 0.28);
    top: -60px;
    right: -40px;
    animation: floatGlow 8s ease-in-out infinite;
}

.login-hero__glow--two {
    width: 220px;
    height: 220px;
    background: rgba(232, 245, 239, 0.18);
    bottom: 10%;
    left: -50px;
    animation: floatGlow 10s ease-in-out infinite reverse;
}

.login-hero__pattern {
    position: absolute;
    inset: 0;
    opacity: 0.12;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(255,255,255,0.35) 0 1.5px, transparent 2px),
        radial-gradient(circle at 80% 70%, rgba(255,255,255,0.25) 0 1.5px, transparent 2px);
    background-size: 36px 36px;
    pointer-events: none;
}

.login-hero__content {
    position: relative;
    z-index: 1;
    max-width: 420px;
    margin-top: auto;
    margin-bottom: auto;
    animation: riseIn 0.7s ease-out both;
}

.login-hero__logo {
    width: 84px;
    height: 84px;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.25));
    animation: softPulse 3.5s ease-in-out infinite;
}

.login-hero__eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.75rem;
    font-weight: 600;
    color: #e8c96a;
    margin-bottom: 0.75rem;
}

.login-hero__title {
    font-size: clamp(2rem, 3vw, 2.75rem);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 1rem;
}

.login-hero__text {
    font-size: 1.05rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.88);
    margin-bottom: 1.75rem;
}

.login-hero__points {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.65rem;
}

.login-hero__points li {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.92);
}

.login-hero__points li::before {
    content: '';
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 50%;
    background: var(--ku-gold);
    box-shadow: 0 0 0 4px rgba(201, 162, 39, 0.2);
    flex-shrink: 0;
}

.login-hero__footer {
    position: relative;
    z-index: 1;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.75);
}

.login-form-side {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1.5rem;
    background:
        radial-gradient(ellipse at top right, rgba(13, 92, 61, 0.07), transparent 50%),
        linear-gradient(180deg, #f8fbf9 0%, #f3efe6 100%);
}

.login-form-wrap {
    width: 100%;
    max-width: 420px;
    animation: riseIn 0.7s ease-out 0.12s both;
}

.login-form-card {
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(13, 92, 61, 0.1);
    border-radius: 1.25rem;
    padding: 2rem;
    box-shadow:
        0 20px 50px rgba(8, 66, 44, 0.1),
        0 2px 8px rgba(8, 66, 44, 0.04);
}

.login-form-card__header {
    margin-bottom: 1.5rem;
}

.login-form-card__logo {
    width: 56px;
    height: 56px;
    margin-bottom: 0.85rem;
}

.login-form-card__header h2 {
    font-size: 1.65rem;
    font-weight: 700;
    color: var(--ku-green-dark);
    margin-bottom: 0.35rem;
}

.login-form-card__header p {
    margin: 0;
    color: #5d7268;
}

.input-icon {
    position: relative;
}

.input-icon__mark {
    position: absolute;
    left: 0.9rem;
    top: 50%;
    transform: translateY(-50%);
    color: #7a9086;
    display: inline-flex;
    pointer-events: none;
    z-index: 2;
}

.input-icon .form-control {
    padding-left: 2.75rem;
    border-radius: 0.75rem;
    border-color: rgba(13, 92, 61, 0.18);
    background: #fcfdfc;
}

.input-icon .form-control:focus {
    border-color: var(--ku-green);
    box-shadow: 0 0 0 0.25rem rgba(13, 92, 61, 0.15);
    background: #fff;
}

.login-submit {
    border-radius: 0.75rem;
    padding-top: 0.85rem;
    padding-bottom: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
    box-shadow: 0 10px 24px rgba(13, 92, 61, 0.25);
}

.login-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(13, 92, 61, 0.3);
}

.login-otp-input {
    letter-spacing: 0.55em;
    font-weight: 700;
    font-size: 1.65rem !important;
}

.login-mobile-footer {
    color: #5d7268;
    font-size: 0.85rem;
}

@keyframes riseIn {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes floatGlow {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-12px, 18px); }
}

@keyframes softPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.04); }
}

@media (max-width: 991.98px) {
    .login-shell {
        grid-template-columns: 1fr;
    }

    .login-hero {
        min-height: auto;
        padding: 2rem 1.5rem 1.75rem;
    }

    .login-hero__content {
        margin: 0;
    }

    .login-hero__title {
        font-size: 1.85rem;
    }

    .login-hero__text,
    .login-hero__points,
    .login-hero__footer {
        display: none;
    }

    .login-hero__logo {
        width: 64px;
        height: 64px;
        margin-bottom: 1rem;
    }

    .login-form-side {
        padding: 1.5rem 1rem 2rem;
    }

    .login-form-card {
        padding: 1.5rem;
    }
}

.footer-ku {
    background: var(--ku-green-dark);
    color: rgba(255, 255, 255, 0.85);
    margin-top: auto;
}

.footer-ku a {
    color: var(--ku-gold);
    text-decoration: none;
}

.footer-ku a:hover {
    text-decoration: underline;
    color: #e8c96a;
}

.login-hero__footer a,
.login-mobile-footer a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 0.15em;
}

.login-hero__footer a:hover,
.login-mobile-footer a:hover {
    color: #e8c96a;
}

.table thead th {
    background: var(--ku-green-light);
    color: var(--ku-green-dark);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.badge-status {
    font-weight: 600;
}

/* —— Case show page —— */
.case-hero {
    position: relative;
    overflow: hidden;
    border-radius: 1.25rem;
    color: #fff;
    background: linear-gradient(135deg, #052e1e 0%, #0d5c3d 55%, #14855a 100%);
    box-shadow: 0 18px 40px rgba(8, 66, 44, 0.18);
    animation: riseIn 0.5s ease-out both;
}

.case-hero__glow {
    position: absolute;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: rgba(201, 162, 39, 0.22);
    top: -80px;
    right: -40px;
    filter: blur(30px);
}

.case-hero__inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1.25rem;
    padding: 1.6rem 1.75rem;
}

.case-hero__avatar {
    width: 3.4rem;
    height: 3.4rem;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.22);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    font-weight: 700;
    flex-shrink: 0;
}

.case-hero__eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.72rem;
    font-weight: 600;
    color: #e8c96a;
}

.case-hero__title {
    font-size: clamp(1.45rem, 2.5vw, 2rem);
    font-weight: 700;
    line-height: 1.2;
    margin: 0;
}

.case-hero__chip {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 0.28rem 0.7rem;
    font-size: 0.78rem;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.case-hero__chip--soft {
    background: rgba(232, 245, 239, 0.18);
}

.case-hero__meta {
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.9rem;
}

.case-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    align-items: flex-start;
}

.case-summary-card {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(13, 92, 61, 0.1);
    border-radius: 1rem;
    padding: 1.1rem 1.15rem;
    box-shadow: 0 8px 20px rgba(8, 66, 44, 0.05);
    animation: riseIn 0.55s ease-out both;
}

.case-summary-card__label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
    color: #7a9086;
    margin-bottom: 0.35rem;
}

.case-summary-card__value {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--ku-green-dark);
    margin-bottom: 0.25rem;
}

.case-summary-card__hint {
    font-size: 0.82rem;
    color: #6b7f74;
    line-height: 1.4;
}

.case-panel,
.case-history-panel,
.case-work-panel,
.case-locked-panel {
    border-radius: 1.15rem;
}

.case-panel__head {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
}

.case-panel__icon {
    width: 2.1rem;
    height: 2.1rem;
    border-radius: 0.7rem;
    background: var(--ku-green-light);
    color: var(--ku-green-dark);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    flex-shrink: 0;
}

.case-field {
    display: block;
    height: 100%;
    padding: 0.85rem 0.95rem;
    border-radius: 0.85rem;
    background: #fcfdfc;
    border: 1px solid rgba(13, 92, 61, 0.08);
}

.case-field__label {
    display: block;
    font-size: 0.75rem;
    color: #7a9086;
    margin-bottom: 0.2rem;
}

.case-field__value {
    display: block;
    font-weight: 600;
    color: #1a2e24;
    word-break: break-word;
}

.case-problem {
    white-space: pre-wrap;
    line-height: 1.65;
    padding: 1rem 1.1rem;
    border-radius: 0.95rem;
    background: linear-gradient(160deg, rgba(13, 92, 61, 0.07), rgba(13, 92, 61, 0.02));
    border: 1px solid rgba(13, 92, 61, 0.1);
    color: #1a2e24;
}

.case-work-panel {
    border: 1.5px solid rgba(13, 92, 61, 0.22);
    box-shadow: 0 12px 28px rgba(13, 92, 61, 0.08);
    scroll-margin-top: 1rem;
}

.case-work-note {
    padding: 0.85rem 1rem;
    border-radius: 0.85rem;
    background: var(--ku-green-light);
    color: #1f4d38;
    font-size: 0.9rem;
}

.case-locked-panel {
    background:
        linear-gradient(160deg, rgba(13, 92, 61, 0.05), rgba(201, 162, 39, 0.05)),
        #fff;
}

.case-history-panel .timeline-item {
    background: #fcfdfc;
    border-radius: 0 0.75rem 0.75rem 0;
    padding: 0.85rem 0.85rem 0.85rem 1.15rem;
    margin-bottom: 0.75rem;
    border-left-width: 3px;
}

.case-history-panel .timeline-item:last-child {
    margin-bottom: 0;
}

@media (max-width: 575.98px) {
    .case-hero__actions .btn {
        width: 100%;
    }
}

.pagination {
    margin-bottom: 0;
}

.page-link {
    color: var(--ku-green-dark);
    border-color: rgba(13, 92, 61, 0.15);
}

.page-link:hover {
    color: var(--ku-green-dark);
    background-color: var(--ku-green-light);
    border-color: rgba(13, 92, 61, 0.25);
}

.page-item.active .page-link {
    background-color: var(--ku-green);
    border-color: var(--ku-green);
    color: #fff;
}

.page-item.disabled .page-link {
    color: #8a9b92;
}

/* Confirm action modal */
.confirm-modal {
    border: 0;
    border-radius: 1.25rem;
    box-shadow: 0 24px 60px rgba(8, 66, 44, 0.2);
}

.confirm-modal__icon {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.6rem;
    font-weight: 700;
}

.confirm-modal__icon--warning {
    background: #fff4d6;
    color: #9a6b00;
}

.confirm-modal__icon--danger {
    background: #fde8e8;
    color: #b42318;
}

.confirm-modal__user {
    display: flex;
    gap: 0.85rem;
    align-items: center;
    padding: 0.9rem 1rem;
    border-radius: 0.95rem;
    background: var(--ku-green-light);
    border: 1px solid rgba(13, 92, 61, 0.1);
}

.confirm-modal__avatar {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 0.8rem;
    background: var(--ku-green);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.confirm-modal__note {
    padding: 0.9rem 1rem;
    border-radius: 0.9rem;
    background: #fcfdfc;
    border: 1px solid rgba(13, 92, 61, 0.1);
    font-size: 0.9rem;
    color: #3d5549;
}

/* —— Reports —— */
.report-hero {
    position: relative;
    overflow: hidden;
    border-radius: 1.25rem;
    color: #fff;
    background: linear-gradient(135deg, #052e1e 0%, #0d5c3d 55%, #14855a 100%);
    box-shadow: 0 18px 40px rgba(8, 66, 44, 0.18);
    animation: riseIn 0.5s ease-out both;
}

.report-hero__glow {
    position: absolute;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: rgba(201, 162, 39, 0.22);
    top: -80px;
    right: -40px;
    filter: blur(30px);
}

.report-hero__inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1.25rem;
    padding: 1.6rem 1.75rem;
}

.report-hero__eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.72rem;
    font-weight: 600;
    color: #e8c96a;
}

.report-hero__title {
    font-size: clamp(1.45rem, 2.5vw, 2rem);
    font-weight: 700;
    margin: 0;
}

.report-hero__text {
    color: rgba(255, 255, 255, 0.88);
}

.report-kpi {
    background: #fff;
    border-radius: 1rem;
    padding: 1.1rem 1.15rem;
    border: 1px solid rgba(13, 92, 61, 0.1);
    box-shadow: 0 8px 20px rgba(8, 66, 44, 0.05);
    border-top: 3px solid var(--ku-green);
}

.report-kpi--total { border-top-color: #0d5c3d; }
.report-kpi--pending { border-top-color: #e0a800; }
.report-kpi--progress { border-top-color: #31b0d5; }
.report-kpi--referred { border-top-color: #8b90a0; }
.report-kpi--resolved { border-top-color: #2f9e66; }

.report-kpi__label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #7a9086;
    font-weight: 700;
}

.report-kpi__value {
    font-size: 1.9rem;
    font-weight: 700;
    color: var(--ku-green-dark);
    line-height: 1.2;
    margin-top: 0.25rem;
}

.report-kpi__hint {
    font-size: 0.8rem;
    color: #6b7f74;
    margin-top: 0.25rem;
}

.report-mini {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 0.9rem;
    padding: 0.95rem 1rem;
    border: 1px solid rgba(13, 92, 61, 0.1);
}

.report-mini__label {
    font-size: 0.75rem;
    color: #7a9086;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 700;
}

.report-mini__value {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--ku-green-dark);
}

.report-panel {
    border-radius: 1.15rem;
}

.report-entry {
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.report-entry:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 32px rgba(8, 66, 44, 0.12);
}

.report-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

.report-entry__badge {
    display: inline-block;
    background: var(--ku-green-light);
    color: var(--ku-green-dark);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    border-radius: 999px;
    padding: 0.3rem 0.7rem;
}

.report-entry__badge--detail {
    background: #fff4d6;
    color: #8a6200;
}

.report-bar__track {
    height: 0.55rem;
    border-radius: 999px;
    background: #e8efeB;
    overflow: hidden;
}

.report-bar__fill {
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, #0d5c3d, #14855a);
}

.report-bar__fill--pending { background: linear-gradient(90deg, #c98a00, #e0a800); }
.report-bar__fill--in_progress { background: linear-gradient(90deg, #0a7ea4, #31b0d5); }
.report-bar__fill--referred { background: linear-gradient(90deg, #5c5f6b, #8b90a0); }
.report-bar__fill--resolved { background: linear-gradient(90deg, #1f7a4d, #2f9e66); }
.report-bar__fill--closed { background: linear-gradient(90deg, #333, #666); }

.report-trend {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 0.65rem;
    align-items: end;
    min-height: 180px;
}

.report-trend__col {
    text-align: center;
}

.report-trend__value {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--ku-green-dark);
    margin-bottom: 0.35rem;
}

.report-trend__bar-wrap {
    height: 120px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.report-trend__bar {
    width: 100%;
    max-width: 2rem;
    min-height: 4px;
    border-radius: 0.55rem 0.55rem 0.2rem 0.2rem;
    background: linear-gradient(180deg, #c9a227, #0d5c3d);
}

.report-trend__label {
    margin-top: 0.45rem;
    font-size: 0.68rem;
    color: #6b7f74;
}

.report-region-row {
    padding: 0.65rem 0;
    border-bottom: 1px solid rgba(13, 92, 61, 0.08);
}

.report-region-row:last-child {
    border-bottom: 0;
}

.report-action-chip {
    background: #fcfdfc;
    border: 1px solid rgba(13, 92, 61, 0.1);
    border-radius: 0.75rem;
    padding: 0.75rem;
}

@media print {
    .navbar-ku,
    .footer-ku,
    .report-filters,
    .report-hero__inner .btn,
    .btn,
    form {
        display: none !important;
    }

    .report-hero {
        box-shadow: none;
        break-inside: avoid;
    }

    body {
        background: #fff;
    }
}

@media (max-width: 767.98px) {
    .report-trend {
        grid-template-columns: repeat(3, 1fr);
        min-height: 220px;
    }
}
