/* Authentication Pages - Login & Register */

:root {
    /* Match admin sample colors */
    --auth-bg: #826952;
    --auth-accent: #e67e50;
    --auth-text: #ffffff;
    --auth-input-bg: #f5f3f0;
    --auth-input-border: #e5e5e5;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--auth-bg);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-container {
    display: flex;
    width: 100%;
    max-width: 1200px;
    min-height: 600px;
    background: var(--auth-bg);
}

/* Left side - Branding */
.auth-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 60px;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.auth-logo {
    width: 120px;
    height: 120px;
    margin-bottom: 30px;
}

.auth-logo svg {
    width: 100%;
    height: 100%;
}

.auth-brand {
    font-size: 36px;
    font-weight: 300;
    color: var(--auth-text);
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.auth-tagline {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    text-align: center;
}

/* Right side - Form */
.auth-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 60px;
}

.auth-form-wrapper {
    max-width: 400px;
    width: 100%;
    margin: 0 auto;
}

.auth-title {
    font-size: 32px;
    font-weight: 400;
    color: var(--auth-text);
    margin-bottom: 10px;
}

.auth-subtitle {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 40px;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

.form-group label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-group input {
    padding: 14px 16px;
    border: 1px solid var(--auth-input-border);
    border-radius: 6px;
    font-size: 15px;
    background: var(--auth-input-bg);
    color: #1f1f1f;
    outline: none;
    transition: all 0.2s;
}

.form-group input:focus {
    border-color: var(--auth-accent);
    box-shadow: 0 0 0 3px rgba(230, 126, 80, 0.1);
}

.form-group input::placeholder {
    color: #999;
}

.btn-auth {
    background: var(--auth-accent);
    color: white;
    border: none;
    padding: 16px;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.2s;
    margin-top: 10px;
}

.btn-auth:hover {
    background: #d97044;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(230, 126, 80, 0.3);
}

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

.auth-link {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

.auth-link a {
    color: var(--auth-accent);
    text-decoration: none;
    font-weight: 500;
}

.auth-link a:hover {
    text-decoration: underline;
}

/* Error/Success messages */
.alert {
    padding: 12px 16px;
    border-radius: 6px;
    margin-bottom: 20px;
    font-size: 14px;
}

.alert-error {
    background: rgba(220, 53, 69, 0.1);
    border: 1px solid rgba(220, 53, 69, 0.3);
    color: #ff6b6b;
}

.alert-success {
    background: rgba(40, 167, 69, 0.1);
    border: 1px solid rgba(40, 167, 69, 0.3);
    color: #51cf66;
}

.alert-info {
    background: rgba(23, 162, 184, 0.1);
    border: 1px solid rgba(23, 162, 184, 0.3);
    color: #4dabf7;
}

/* Responsive */
@media (max-width: 768px) {
    .auth-container {
        flex-direction: column;
    }
    
    .auth-left {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding: 40px 20px;
    }
    
    .auth-right {
        padding: 40px 20px;
    }
    
    .auth-brand {
        font-size: 28px;
    }
    
    .auth-title {
        font-size: 24px;
    }
}