﻿
*, *::before, *::after {
    box-sizing: border-box;
}

body.auth-body {
    font-family: 'DM Sans', sans-serif;
    background-color: #eef0f4;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}
.auth-confirm-message {
    background: #f0f4ff;
    border: 1px solid #c8d4f0;
    border-radius: 10px;
    padding: 16px 18px;
    margin-bottom: 20px;
}

    .auth-confirm-message p {
        font-size: 13px;
        color: #3a4a6b;
        line-height: 1.7;
        margin-bottom: 8px;
    }

        .auth-confirm-message p:last-child {
            margin-bottom: 0;
        }

/* Card */
.auth-card {
    display: flex;
    width: 100%;
    max-width: 960px;
    min-height: 540px;
    border-radius: 20px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #dde1e8;
    box-shadow: 0 4px 32px rgba(15, 31, 61, 0.08);
}

.auth-panel-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 48px 44px;
}

.auth-logo {
    display: flex;
    justify-content: center;
    margin-bottom: 24px;
}

    .auth-logo img {
        max-height: 80px;
        object-fit: contain;
    }

/* Heading block */
.auth-heading {
    text-align: center;
    margin-bottom: 28px;
}

    .auth-heading h1 {
        font-family: 'Playfair Display', serif;
        font-size: 22px;
        font-weight: 500;
        color: #0f1f3d;
        margin-bottom: 4px;
    }

    .auth-heading .auth-subtitle {
        font-size: 13px;
        color: #7a8299;
        margin-bottom: 2px;
    }

    .auth-heading .auth-page-label {
        font-size: 11px;
        font-weight: 600;
        color: #1a3a6c;
        letter-spacing: 0.1em;
        text-transform: uppercase;
        margin-top: 8px;
        display: block;
    }

/* Alert / temp messages */
.auth-alert {
    background: #fff2f2;
    border: 1px solid #f5c6c6;
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 13px;
    color: #c0392b;
    margin-bottom: 16px;
}

/* Form */
.auth-form .form-group {
    margin-bottom: 14px;
}

.auth-form .form-control {
    height: 44px;
    border-radius: 10px !important;
    border: 1px solid #dde1e8;
    background: #f9fafb;
    padding: 0 16px;
    font-size: 14px;
    font-family: 'DM Sans', sans-serif;
    color: #0f1f3d;
    transition: border-color 0.2s, background 0.2s;
}

    .auth-form .form-control:focus {
        border-color: #1a3a6c;
        background: #ffffff;
        box-shadow: none;
    }

    .auth-form .form-control::placeholder {
        color: #b0b8cc;
    }

/* Remember me */
.auth-remember {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
}

    .auth-remember input[type="checkbox"] {
        width: 16px;
        height: 16px;
        accent-color: #1a3a6c;
        cursor: pointer;
    }

    .auth-remember label {
        font-size: 13px;
        color: #7a8299;
        cursor: pointer;
        margin: 0;
    }

/* Buttons */
.btn-auth-primary {
    width: 100%;
    height: 44px;
    border-radius: 10px;
    border: none;
    background: #1a3a6c;
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
    font-family: 'DM Sans', sans-serif;
    cursor: pointer;
    transition: background 0.2s;
    margin-bottom: 10px;
    display: block;
    text-align: center;
    line-height: 44px;
    text-decoration: none;
}

    .btn-auth-primary:hover {
        background: #1e4785;
        color: #fff;
    }

.btn-auth-secondary {
    width: 100%;
    height: 44px;
    border-radius: 10px;
    border: 1px solid #dde1e8;
    background: #f9fafb;
    color: #0f1f3d;
    font-size: 14px;
    font-weight: 400;
    font-family: 'DM Sans', sans-serif;
    cursor: pointer;
    transition: background 0.2s;
    display: block;
    text-align: center;
    line-height: 44px;
    text-decoration: none;
}

    .btn-auth-secondary:hover {
        background: #eef0f4;
        color: #0f1f3d;
    }

/* Forgot password */
.auth-forgot {
    text-align: center;
    margin-top: 14px;
}

    .auth-forgot a {
        font-size: 13px;
        color: #1a3a6c;
        text-decoration: none;
    }

        .auth-forgot a:hover {
            text-decoration: underline;
        }

/* Right panel (image side) */
.auth-panel-right {
    width: 42%;
    background: #0f1f3d;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
}

    .auth-panel-right .auth-slideshow-img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        opacity: 0.55;
        transition: opacity 0.8s ease;
    }

    .auth-panel-right .auth-right-copy {
        position: relative;
        z-index: 1;
        padding: 32px;
        color: #ffffff;
    }

.auth-right-copy h2 {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 8px;
    line-height: 1.4;
}

.auth-right-copy p {
    font-size: 13px;
    opacity: 0.75;
    line-height: 1.6;
}

/* Responsive */
@media (max-width: 768px) {
    .auth-panel-right {
        display: none;
    }

    .auth-panel-left {
        padding: 32px 24px;
    }
}
