/**
 * Rezer Login Page Styles
 * Modern and responsive login design
 */

:root {
    --rezer-orange: #ff6000;
    --rezer-orange-dark: #e55500;
    --rezer-orange-light: #ff7a26;
    --rezer-dark: #0a0a0a;
    --rezer-gray: #52525b;
    --rezer-light-gray: #f4f4f5;
    --rezer-white: #ffffff;
    --rezer-border: #e4e4e7;
}

.rezer-login-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f4f4f5 0%, #e4e4e7 100%);
    padding: 2rem 1rem;
}

.rezer-login-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-width: 1100px;
    width: 100%;
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

/* Left Side - Branding */
.rezer-login-brand {
    background: linear-gradient(135deg, var(--rezer-orange) 0%, var(--rezer-orange-light) 100%);
    padding: 4rem 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.brand-content {
    max-width: 400px;
}

.brand-logo {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
}

.brand-logo svg {
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.brand-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1;
}

.brand-subtitle {
    font-size: 1.125rem;
    opacity: 0.95;
    margin-bottom: 3rem;
    line-height: 1.6;
}

.brand-features {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.brand-feature {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.brand-feature svg {
    flex-shrink: 0;
}

.brand-feature span {
    font-size: 1rem;
    font-weight: 500;
}

/* Right Side - Form */
.rezer-login-form-wrapper {
    padding: 4rem 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-form-container {
    width: 100%;
    max-width: 400px;
}

.login-header {
    margin-bottom: 2.5rem;
}

.login-header h2 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--rezer-dark);
    margin-bottom: 0.5rem;
}

.login-header p {
    font-size: 1rem;
    color: var(--rezer-gray);
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--rezer-dark);
    margin-bottom: 0.5rem;
}

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

.input-icon {
    position: absolute;
    left: 1rem;
    color: var(--rezer-gray);
    pointer-events: none;
}

.input-wrapper input {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    border: 2px solid var(--rezer-border);
    border-radius: 12px;
    font-size: 1rem;
    color: var(--rezer-dark);
    transition: all 0.3s ease;
}

.input-wrapper input:focus {
    outline: none;
    border-color: var(--rezer-orange);
    box-shadow: 0 0 0 3px rgba(255, 96, 0, 0.1);
}

.input-wrapper input::placeholder {
    color: #a1a1aa;
}

.toggle-password {
    position: absolute;
    right: 1rem;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    color: var(--rezer-gray);
    transition: color 0.2s;
}

.toggle-password:hover {
    color: var(--rezer-orange);
}

.form-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: -0.5rem;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 0.875rem;
    color: var(--rezer-gray);
}

.remember-me input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--rezer-orange);
}

.forgot-password {
    font-size: 0.875rem;
    color: var(--rezer-orange);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.forgot-password:hover {
    color: var(--rezer-orange-dark);
}

.login-error {
    padding: 1rem;
    background: #fee;
    border: 1px solid #fcc;
    border-radius: 12px;
    color: #c33;
    font-size: 0.875rem;
    text-align: center;
}

.btn-login {
    width: 100%;
    padding: 1rem;
    background: var(--rezer-orange);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-login:hover {
    background: var(--rezer-orange-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 96, 0, 0.3);
}

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

.btn-login:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.btn-loader svg {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.login-divider {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1.5rem 0;
    color: var(--rezer-gray);
    font-size: 0.875rem;
}

.login-divider::before,
.login-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--rezer-border);
}

.login-register {
    text-align: center;
}

.login-register p {
    font-size: 0.9375rem;
    color: var(--rezer-gray);
}

.login-register a {
    color: var(--rezer-orange);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}

.login-register a:hover {
    color: var(--rezer-orange-dark);
}

/* Responsive */
@media (max-width: 1024px) {
    .rezer-login-container {
        grid-template-columns: 1fr;
        max-width: 500px;
    }

    .rezer-login-brand {
        padding: 3rem 2rem;
    }

    .brand-features {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .brand-feature {
        flex: 1;
        min-width: 200px;
    }
}

@media (max-width: 768px) {
    .rezer-login-wrapper {
        padding: 1rem;
    }

    .rezer-login-brand {
        padding: 2rem 1.5rem;
    }

    .brand-logo {
        width: 60px;
        height: 60px;
        margin-bottom: 1.5rem;
    }

    .brand-logo svg {
        width: 40px;
        height: 40px;
    }

    .brand-title {
        font-size: 2rem;
    }

    .brand-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .brand-features {
        flex-direction: column;
    }

    .rezer-login-form-wrapper {
        padding: 2rem 1.5rem;
    }

    .login-header h2 {
        font-size: 1.75rem;
    }

    .form-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
}
