/* =========================================
   AUTHENTICATION FLOW STYLES (Login, Forgot, Reset)
   ========================================= */

.auth-layout-container {
    min-height: 100vh;
    width: 100vw;
    background: url('../assets/image/auth_bg.svg') no-repeat center center / cover;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.auth-page {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 440px;
}

.auth-header-wrapper {
    text-align: center;
    margin-bottom: 28px;
}

.auth-header-title {
    font-size: 26px;
    font-weight: 700;
    color: #151515;
    margin: 0 0 6px 0;
    line-height: 1.2;
}

.auth-header-subtitle {
    font-size: 13px;
    color: #6b7280;
    margin: 0;
    line-height: 1.4;
}

.auth-card {
    background-color: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    padding: 32px 28px;
    width: 100%;
    box-sizing: border-box;
    border: none;
    border-top: 2.5px solid #151515;
}

.auth-card-title {
    font-size: 20px;
    font-weight: 700;
    color: #151515;
    margin: 0 0 24px 0;
}

.auth-form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 18px;
}

.auth-label {
    font-size: 13px;
    font-weight: 600;
    color: #151515;
    margin-bottom: 6px;
}

.auth-label .required-star {
    color: #ef4444;
    margin-left: 2px;
}

.auth-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.auth-input {
    width: 100%;
    height: 42px;
    padding: 0 14px;
    font-size: 13.5px;
    color: #151515;
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    outline: none;
    box-sizing: border-box;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.auth-input-wrapper .auth-input {
    padding-right: 40px;
}

.auth-input::placeholder {
    color: #9ca3af;
}

.auth-input:focus {
    border-color: #151515;
    box-shadow: 0 0 0 2px rgba(21, 21, 21, 0.08);
}

.auth-password-toggle {
    position: absolute;
    right: 12px;
    background: none;
    border: none;
    padding: 0;
    color: #9ca3af;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.15s;
}

.auth-password-toggle:hover {
    color: #151515;
}

.auth-password-toggle svg {
    width: 18px;
    height: 18px;
}

.auth-checkbox-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 22px;
    user-select: none;
}

.auth-checkbox {
    width: 16px;
    height: 16px;
    border-radius: 4px;
    cursor: pointer;
    accent-color: #151515;
}

.auth-checkbox-label {
    font-size: 13px;
    color: #151515;
    cursor: pointer;
}

.auth-btn-primary {
    width: 100%;
    height: 42px;
    background-color: #151515;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.15s;
    margin-bottom: 20px;
}

.auth-btn-primary:hover {
    background-color: #000000;
}

.auth-footer-link {
    text-align: center;
    font-size: 12.5px;
    color: #9ca3af;
    margin: 0;
}

.auth-link {
    color: #151515;
    font-weight: 600;
    text-decoration: underline;
    cursor: pointer;
    transition: color 0.15s;
}

.auth-link:hover {
    color: #000000;
}

.auth-back-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 13px;
    color: #9ca3af;
    text-decoration: none;
    cursor: pointer;
    transition: color 0.15s;
    margin-top: 4px;
}

.auth-back-link:hover {
    color: #111827;
}

.auth-arrow-icon,
.auth-back-icon {
    width: 14px;
    height: 14px;
    object-fit: contain;
    stroke-width: 2.2;
}
