/* 
 * Premium Black/White Login Page Styles
 * Barber Syndicate - 2026
 */

:root {
    --bg-black: #000000;
    --bg-white: #ffffff;
    --text-primary: #ffffff;
    --text-secondary: #888888;
    --accent: #ffffff;
    --input-bg: rgba(255, 255, 255, 0.05);
    --input-border: rgba(255, 255, 255, 0.1);
    --input-focus: rgba(255, 255, 255, 0.3);
}

.login-page-container {
    display: flex;
    min-height: 100vh;
    background-color: var(--bg-black);
    overflow: hidden;
}

/* Split Layout */
.login-split-left {
    flex: 1;
    position: relative;
    background: url('../images/backgrounds/login_bg.png') no-repeat center center;
    background-size: cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 80px;
    color: var(--text-primary);
}

.login-split-left::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.5) 100%);
    z-index: 1;
}

.login-left-content {
    position: relative;
    z-index: 2;
    max-width: 500px;
}

.login-left-content h1 {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 2rem;
    color: var(--bg-white);
    letter-spacing: -2px;
}

.login-left-content p {
    font-size: 1.2rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 3rem;
}

.login-split-right {
    width: 500px;
    background-color: var(--bg-black);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 60px;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

/* Form Styles */
.login-form-wrapper {
    width: 100%;
    max-width: 400px;
}

.login-form-header {
    margin-bottom: 40px;
}

.login-form-header h2 {
    font-size: 2rem;
    color: var(--bg-white);
    margin-bottom: 10px;
}

.login-form-header p {
    color: var(--text-secondary);
}

.input-group-custom {
    margin-bottom: 24px;
}

.input-group-custom label {
    display: block;
    color: var(--text-secondary);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.input-group-custom input {
    width: 100%;
    background: var(--input-bg);
    border: 1px solid var(--input-border);
    padding: 14px 20px;
    border-radius: 4px;
    color: var(--bg-white);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.input-group-custom input:focus {
    outline: none;
    border-color: var(--input-focus);
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

.password-container {
    position: relative;
}

.toggle-pass-custom {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: var(--text-secondary);
}

.form-footer-custom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.checkbox-custom {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    color: var(--text-secondary);
}

.checkbox-custom input {
    accent-color: var(--bg-white);
}

.forgot-link {
    color: var(--bg-white);
    font-size: 0.9rem;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}

.forgot-link:hover {
    border-color: var(--bg-white);
}

.btn-premium-login {
    width: 100%;
    background-color: var(--bg-white);
    color: var(--bg-black);
    border: none;
    padding: 16px;
    border-radius: 4px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: 20px;
}

.btn-premium-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 255, 255, 0.1);
    background-color: #f0f0f0;
}

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

/* Auth Pages overide layout */
#wrapper main {
    padding: 0 !important;
}

.tf-header, .tf-footer {
    display: none !important;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-up {
    animation: fadeInUp 0.8s ease forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }

/* Responsive */
@media (max-width: 1199px) {
    .login-split-left {
        padding: 40px;
    }
    .login-left-content h1 {
        font-size: 3rem;
    }
}

@media (max-width: 991px) {
    .login-page-container {
        flex-direction: column;
    }
    .login-split-left {
        min-height: 40vh;
        flex: none;
    }
    .login-split-right {
        width: 100%;
        border-left: none;
        padding: 40px 20px;
    }
}
