.auth-page {
    display: flex;
    align-items: center;
    min-height: calc(100vh - 128px);
    padding: 76px 0 92px;
    background:
        radial-gradient(circle at 50% 0%, rgba(86, 183, 232, 0.10), transparent 34%),
        #fff;
}

.auth-panel {
    width: min(100%, 540px);
    margin: 0 auto;
    padding: 38px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid #E7EEF6;
    border-radius: 8px;
    box-shadow: 0 28px 70px rgba(16, 36, 61, 0.10);
}

.auth-tabs {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 8px;
    margin: 0 0 28px;
    padding: 5px;
    list-style: none;
    background: #F7FAFD;
    border: 1px solid #EDF3F9;
    border-radius: 999px;
}

.auth-tabs .nav-item {
    min-width: 0;
    width: 100%;
    margin: 0;
    padding: 0;
}

.auth-tabs .nav-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-width: 0;
    min-height: 46px;
    padding: 0 18px;
    color: #66758A;
    background: transparent;
    border: 0;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
    white-space: nowrap;
    text-decoration: none;
    transition: color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.auth-tabs .nav-link.active {
    color: #1B5190;
    background: #fff;
    box-shadow: 0 12px 28px rgba(16, 36, 61, 0.10);
}

.auth-tabs .nav-link:not(.active):hover {
    color: #1B5190;
    background: rgba(255, 255, 255, 0.72);
}

.auth-tab-content .tab-pane {
    display: none;
}

.auth-tab-content .tab-pane.active {
    display: block;
}

.auth-form {
    display: grid;
    gap: 18px;
}

.auth-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.auth-form label {
    display: grid;
    gap: 8px;
    margin: 0;
}

.auth-form label span {
    color: #10243D;
    font-size: 14px;
    font-weight: 600;
}

.auth-form input {
    width: 100%;
    height: 52px;
    padding: 0 15px;
    color: #10243D;
    background: #fff;
    border: 1px solid #DFEAF5;
    border-radius: 8px;
    outline: 0;
    font-size: 15px;
    font-weight: 500;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.auth-form input:focus {
    border-color: #56B7E8;
    box-shadow: 0 0 0 4px rgba(86, 183, 232, 0.12);
}

.auth-form-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.auth-form-row a {
    color: #1B5190;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

.auth-form-row a:hover {
    color: #16477F;
}

.auth-check {
    display: flex !important;
    grid-template-columns: none;
    flex-direction: row;
    align-items: center;
    gap: 9px !important;
}

.auth-check input {
    flex: 0 0 17px;
    width: 17px;
    height: 17px;
    accent-color: #1B5190;
}

.auth-check span {
    color: #66758A !important;
    font-size: 14px !important;
    font-weight: 500 !important;
}

.auth-form button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 52px;
    color: #fff;
    background: #1B5190;
    border: 0;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 600;
    line-height: 1;
    box-shadow: 0 16px 30px rgba(27, 81, 144, 0.18);
    transition: box-shadow 0.18s ease, transform 0.18s ease, background 0.18s ease;
}

.auth-form button:hover {
    background: #16477F;
    transform: translateY(-1px);
    box-shadow: 0 20px 34px rgba(27, 81, 144, 0.24);
}

@media (max-width: 575px) {
    .auth-page {
        min-height: auto;
        padding: 44px 0 68px;
    }

    .auth-panel {
        padding: 24px;
    }

    .auth-grid {
        grid-template-columns: 1fr;
    }

    .auth-form-row {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }
}
