html,
body {
    height: 100%;
}

body.auth-shell {
    margin: 0;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #0b3c6f 0%, #0f5c8d 45%, #36a2b8 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 25px;
}

.auth-wrapper {
    width: 100%;
    max-width: 1120px;
}

.auth-card {
    border: 0;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.22);
    background: #ffffff;
}

.auth-left {
    min-height: 620px;
    color: #ffffff;
    background: linear-gradient(160deg, rgba(8,44,91,0.96) 0%, rgba(13,85,131,0.92) 60%, rgba(34,154,173,0.88) 100%);
    position: relative;
    padding: 45px 38px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.auth-left::before,
.auth-left::after {
    content: "";
    position: absolute;
    border-radius: 50%;
}

.auth-left::before {
    top: -80px;
    right: -80px;
    width: 220px;
    height: 220px;
    background: rgba(255,255,255,0.08);
}

.auth-left::after {
    bottom: -60px;
    left: -60px;
    width: 180px;
    height: 180px;
    background: rgba(255,255,255,0.06);
}

.auth-brand-block,
.auth-feature-callout {
    position: relative;
    z-index: 2;
}

.auth-logo-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 92px;
    height: 92px;
    border-radius: 22px;
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(4px);
    margin-bottom: 22px;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08);
    padding: 10px;
}

.auth-logo-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.auth-title {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 10px;
}

.auth-subtitle {
    font-size: 1rem;
    opacity: 0.92;
    line-height: 1.6;
    max-width: 440px;
}

.auth-feature-list {
    margin-top: 30px;
}

.auth-feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 14px;
    font-size: 0.97rem;
    opacity: 0.96;
}

.auth-feature-item i {
    width: 28px;
    margin-right: 10px;
    font-size: 1rem;
}

.auth-feature-callout {
    margin-top: 28px;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    border-radius: 16px;
    background: rgba(255,255,255,0.10);
    backdrop-filter: blur(5px);
}

.auth-feature-icon {
    width: 58px;
    height: 58px;
    border-radius: 16px;
    background: rgba(255,255,255,0.16);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.auth-feature-text strong {
    display: block;
    font-size: 1rem;
    margin-bottom: 2px;
}

.auth-feature-text span {
    font-size: 0.92rem;
    opacity: 0.92;
}

.auth-right {
    min-height: 620px;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 42px;
}

.auth-form-container {
    width: 100%;
    max-width: 420px;
}

.auth-form-header {
    margin-bottom: 28px;
}

.auth-form-header h2 {
    font-size: 1.9rem;
    font-weight: 700;
    color: #1f2d3d;
    margin-bottom: 8px;
}

.auth-form-header p {
    margin: 0;
    color: #6c757d;
    font-size: 0.98rem;
    line-height: 1.5;
}

.auth-label {
    font-weight: 600;
    color: #34495e;
    margin-bottom: 8px;
    display: block;
}

.auth-input-group {
    margin-bottom: 18px;
}

.auth-input-group .form-control {
    height: 52px;
    border-radius: 12px 0 0 12px !important;
    border: 1px solid #d9e2ec;
    box-shadow: none !important;
    font-size: 1rem;
    padding-left: 16px;
}

.auth-input-group .form-control:focus {
    border-color: #2d8cf0;
}

.auth-input-group .input-group-text {
    height: 52px;
    border-radius: 0 12px 12px 0 !important;
    border: 1px solid #d9e2ec;
    border-left: 0;
    background: #f8fafc;
    color: #3c6382;
    min-width: 52px;
    justify-content: center;
    font-size: 1.05rem;
}

.auth-alert {
    border-radius: 12px;
    font-size: 0.95rem;
}

.auth-btn {
    height: 52px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    box-shadow: 0 10px 24px rgba(13, 110, 253, 0.25);
}

.auth-links {
    margin-top: 22px;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.auth-links a {
    color: #0d5f8f;
    font-weight: 600;
    text-decoration: none;
    font-size: 0.96rem;
}

.auth-links a:hover {
    text-decoration: underline;
    color: #0a4d74;
}

.auth-note {
    margin-top: 18px;
    font-size: 0.9rem;
    color: #8a97a6;
    text-align: center;
}

.auth-helper-card {
    border: 1px solid #e7edf4;
    border-radius: 14px;
    background: #f8fbff;
    padding: 14px 16px;
    font-size: 0.92rem;
    color: #51606f;
    margin-bottom: 18px;
}

.auth-helper-card strong {
    display: block;
    color: #1f2d3d;
    margin-bottom: 4px;
}

@media (max-width: 991.98px) {
    .auth-left {
        min-height: auto;
        padding: 32px 28px;
    }

    .auth-right {
        min-height: auto;
        padding: 30px 24px 36px 24px;
    }

    .auth-title {
        font-size: 1.7rem;
    }
}

@media (max-width: 767.98px) {
    body.auth-shell {
        padding: 12px;
    }

    .auth-left,
    .auth-right {
        padding: 24px 20px;
    }

    .auth-links {
        flex-direction: column;
        align-items: flex-start;
    }

    .auth-form-header h2 {
        font-size: 1.6rem;
    }
}
