.futibas-auth-body,
.futibas-dashboard-body {
    margin: 0;
    min-height: 100vh;
    background:
        radial-gradient(circle at top right, rgba(28, 138, 78, .22), transparent 34%),
        linear-gradient(145deg, #101713 0%, #17241d 52%, #0d1712 100%);
    color: #17231d;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.futibas-auth-shell {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px 18px;
    box-sizing: border-box;
}

.futibas-auth-card {
    width: min(100%, 470px);
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 24px;
    background: rgba(251, 252, 249, .98);
    padding: 32px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, .28);
    box-sizing: border-box;
}

.futibas-auth-brand,
.futibas-dashboard-brand {
    display: flex;
    align-items: center;
    gap: 11px;
}

.futibas-auth-brand {
    margin-bottom: 32px;
}

.futibas-auth-brand-mark,
.futibas-dashboard-brand-mark {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #137a46;
    color: #fff;
    font-size: 23px;
    font-weight: 800;
}

.futibas-auth-brand strong,
.futibas-auth-brand span,
.futibas-dashboard-brand strong,
.futibas-dashboard-brand span {
    display: block;
}

.futibas-auth-brand strong,
.futibas-dashboard-brand strong {
    color: #17231d;
    font-size: 15px;
}

.futibas-auth-brand span,
.futibas-dashboard-brand span {
    margin-top: 2px;
    color: #737b76;
    font-size: 12px;
}

.futibas-auth-kicker,
.futibas-dashboard-kicker,
.futibas-dashboard-card-label {
    color: #137a46;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .15em;
}

.futibas-auth-card h1 {
    margin: 6px 0 9px;
    color: #17231d;
    font-size: 31px;
    line-height: 1.12;
}

.futibas-auth-lead {
    margin: 0 0 24px;
    color: #5f6862;
    font-size: 14px;
    line-height: 1.55;
}

.futibas-auth-form {
    display: grid;
    gap: 17px;
}

.futibas-auth-field label {
    display: block;
    margin-bottom: 6px;
    color: #202c25;
    font-size: 13px;
    font-weight: 650;
}

.futibas-auth-field input {
    width: 100%;
    min-height: 48px;
    border: 1px solid #adb8b0;
    border-radius: 10px;
    background: #fff;
    padding: 8px 12px;
    color: #17231d;
    font: inherit;
    box-sizing: border-box;
    outline: none;
}

.futibas-auth-field input:focus {
    border-color: #137a46;
    box-shadow: 0 0 0 3px rgba(19, 122, 70, .13);
}

.futibas-auth-remember {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #59635d;
    font-size: 12px;
}

.futibas-auth-button {
    min-height: 49px;
    border: 0;
    border-radius: 11px;
    background: #137a46;
    color: #fff;
    font-size: 14px;
    font-weight: 750;
    cursor: pointer;
}

.futibas-auth-button:hover,
.futibas-auth-button:focus {
    background: #0d5934;
}

.futibas-auth-error,
.futibas-auth-success {
    margin-bottom: 18px;
    border-radius: 10px;
    padding: 11px 12px;
    font-size: 13px;
    line-height: 1.45;
}

.futibas-auth-error {
    border: 1px solid #e5b3b6;
    background: #fff1f1;
    color: #8f2026;
}

.futibas-auth-success {
    border: 1px solid #a7d6b8;
    background: #effaf3;
    color: #17643b;
}

.futibas-auth-footer {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-top: 23px;
    border-top: 1px solid #e1e6e2;
    padding-top: 18px;
    color: #727b75;
    font-size: 12px;
}

.futibas-auth-footer a {
    color: #137a46;
    font-weight: 700;
    text-decoration: none;
}

.futibas-dashboard-shell {
    width: min(calc(100% - 32px), 1160px);
    margin: 0 auto;
    padding: 28px 0 38px;
    box-sizing: border-box;
}

.futibas-dashboard-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 18px;
    background: rgba(250, 252, 249, .97);
    padding: 15px 18px;
}

.futibas-dashboard-logout {
    min-height: 38px;
    border: 1px solid #c8d0ca;
    border-radius: 9px;
    background: #fff;
    padding: 0 18px;
    color: #243028;
    font-weight: 700;
    cursor: pointer;
}

.futibas-dashboard-hero {
    margin: 34px 0 25px;
    color: #fff;
}

.futibas-dashboard-hero h1 {
    margin: 7px 0 8px;
    font-size: clamp(30px, 5vw, 48px);
    line-height: 1.08;
}

.futibas-dashboard-hero p {
    margin: 0;
    color: rgba(255, 255, 255, .72);
    font-size: 15px;
}

.futibas-dashboard-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.futibas-dashboard-card,
.futibas-dashboard-main-card {
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 18px;
    background: rgba(250, 252, 249, .98);
    box-shadow: 0 18px 45px rgba(0, 0, 0, .14);
}

.futibas-dashboard-card {
    padding: 21px;
}

.futibas-dashboard-card strong {
    display: block;
    margin-top: 10px;
    color: #18241d;
    font-size: 21px;
}

.futibas-dashboard-card p {
    margin: 7px 0 0;
    color: #707973;
    font-size: 12px;
    line-height: 1.45;
}

.futibas-dashboard-status {
    color: #137a46 !important;
}

.futibas-dashboard-main-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    margin-top: 16px;
    padding: 27px;
}

.futibas-dashboard-main-card h2 {
    margin: 8px 0 9px;
    color: #18241d;
    font-size: 25px;
}

.futibas-dashboard-main-card p {
    max-width: 670px;
    margin: 0;
    color: #69726c;
    line-height: 1.55;
}

.futibas-dashboard-coming {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}

.futibas-dashboard-coming span {
    border-radius: 999px;
    background: #edf5f0;
    padding: 8px 12px;
    color: #17643b;
    font-size: 11px;
    font-weight: 750;
}

.futibas-dashboard-footer {
    margin-top: 25px;
    color: rgba(255, 255, 255, .48);
    font-size: 11px;
    text-align: center;
}

@media (max-width: 760px) {
    .futibas-dashboard-grid {
        grid-template-columns: 1fr;
    }

    .futibas-dashboard-main-card {
        align-items: flex-start;
        flex-direction: column;
    }

    .futibas-dashboard-coming {
        justify-content: flex-start;
    }
}

@media (max-width: 520px) {
    .futibas-auth-card {
        border-radius: 18px;
        padding: 24px 20px;
    }

    .futibas-auth-card h1 {
        font-size: 27px;
    }

    .futibas-dashboard-shell {
        width: min(calc(100% - 20px), 1160px);
        padding-top: 10px;
    }

    .futibas-dashboard-header {
        border-radius: 14px;
    }

    .futibas-dashboard-brand span {
        display: none;
    }
}
