/*
 * OURCR ONLINE - Authentication Pages CSS
 * Left Panel branding with site-color gradient, Right Panel clean form
 */

:root {
    --site-color: #DC2626;
    --site-color-rgb: 220, 38, 38;
}

body.auth-body {
    background-color: #f9fafb;
    font-family: 'DM Sans', sans-serif;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-container {
    display: flex;
    width: 100%;
    min-height: 100vh;
}

.auth-left {
    flex: 0 0 45%;
    background: linear-gradient(135deg, var(--site-color), #7f1d1d);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px;
    position: relative;
    overflow: hidden;
}

.auth-left::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 80%);
    pointer-events: none;
}

.auth-left-content {
    max-width: 480px;
    z-index: 2;
}

.auth-logo img {
    max-height: 48px;
    width: auto;
}

.auth-brand-text {
    font-family: 'Syne', sans-serif;
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.auth-left-title {
    font-family: 'Syne', sans-serif;
    font-size: 36px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 16px;
}

.auth-left-sub {
    font-size: 16px;
    opacity: 0.85;
    line-height: 1.6;
    margin-bottom: 40px;
}

.auth-features {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.auth-feature-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.auth-feature-item i {
    font-size: 20px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-feature-item span {
    font-size: 15px;
    font-weight: 500;
}

.auth-right {
    flex: 1;
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    overflow-y: auto;
}

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

.auth-title {
    font-family: 'Syne', sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 8px;
}

.auth-subtitle {
    font-size: 15px;
    color: #6b7280;
    margin-bottom: 32px;
}

.auth-input-group {
    border: 1px solid #d1d5db;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.2s ease-in-out;
}

.auth-input-group:focus-within {
    border-color: var(--site-color);
    box-shadow: 0 0 0 3px rgba(var(--site-color-rgb), 0.15);
}

.auth-input-group .input-group-text {
    background-color: transparent;
    border: none;
    color: #9ca3af;
    padding-left: 16px;
    padding-right: 8px;
}

.auth-input {
    border: none !important;
    height: 48px;
    padding-left: 8px;
    font-size: 15px;
    color: #1f2937;
}

.auth-input:focus {
    box-shadow: none !important;
    outline: none !important;
}

.auth-link {
    color: var(--site-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.auth-link:hover {
    color: #b91c1c;
    text-decoration: underline;
}

.auth-btn {
    width: 100%;
    height: 48px;
    background-color: var(--site-color);
    border: none;
    border-radius: 10px;
    color: #ffffff;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.auth-btn:hover {
    background-color: #b91c1c;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(var(--site-color-rgb), 0.25);
}

.auth-btn:active {
    transform: translateY(0);
}

.auth-divider {
    display: flex;
    align-items: center;
    text-align: center;
    color: #9ca3af;
    font-size: 13px;
    margin: 24px 0;
}

.auth-divider::before, .auth-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #e5e7eb;
}

.auth-divider:not(:empty)::before {
    margin-right: 12px;
}

.auth-divider:not(:empty)::after {
    margin-left: 12px;
}

@media (max-width: 991px) {
    .auth-left {
        display: none !important;
    }
    .auth-right {
        padding: 24px;
    }
}
