/* Auth CSS Styles for Weeqia */

:root {
    --primary-color: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --secondary-color: #ec4899;
    --text-color: #334155;
    --light-text: #94a3b8;
    --border-color: #e2e8f0;
    --background-color: #f8fafc;
    --error-color: #ef4444;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --shadow-color: rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: var(--background-color);
    color: var(--text-color);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.auth-container {
    display: flex;
    max-width: 1000px;
    width: 100%;
    min-height: 600px;
    background-color: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 25px var(--shadow-color);
    margin: 20px;
}

.auth-form-container {
    flex: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
}

.auth-hero {
    flex: 1;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    position: relative;
    overflow: hidden;
}

.logo-container {
    margin-bottom: 32px;
}

.logo-container h1 {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.tagline {
    color: var(--light-text);
    font-size: 16px;
}

.auth-form {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.auth-form h2 {
    font-size: 24px;
    margin-bottom: 24px;
    font-weight: 600;
}

.form-description {
    margin-bottom: 24px;
    color: var(--light-text);
    line-height: 1.5;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 14px;
}

.form-group input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 16px;
    outline: none;
    transition: border 0.3s;
}

.form-group input:focus {
    border-color: var(--primary-color);
}

.btn-primary {
    width: 100%;
    padding: 12px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
}

.forgot-password {
    display: block;
    text-align: right;
    color: var(--primary-color);
    font-size: 14px;
    margin-top: 8px;
    text-decoration: none;
}

.auth-links {
    margin-top: 24px;
    text-align: center;
    font-size: 14px;
}

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

.hero-content {
    max-width: 320px;
}

.hero-content h2 {
    font-size: 24px;
    margin-bottom: 24px;
    font-weight: 600;
}

.feature-list {
    list-style-type: none;
}

.feature-list li {
    margin-bottom: 16px;
    font-size: 16px;
    display: flex;
    align-items: center;
}

.feature-list li::before {
    content: "•";
    margin-right: 10px;
    font-size: 20px;
}

.password-strength {
    margin-top: 12px;
}

.strength-meter {
    height: 6px;
    background-color: var(--border-color);
    border-radius: 3px;
    margin-bottom: 4px;
    overflow: hidden;
}

.strength-meter-fill {
    height: 100%;
    width: 0;
    background-color: var(--error-color);
    transition: width 0.3s, background-color 0.3s;
}

.strength-text {
    font-size: 12px;
    color: var(--light-text);
}

.error-message {
    color: var(--error-color);
    font-size: 14px;
    margin-top: 4px;
}

.success-message {
    color: var(--success-color);
    font-size: 14px;
    margin-top: 4px;
}

/* Responsive styles */
@media (max-width: 768px) {
    .auth-container {
        flex-direction: column;
    }

    .auth-hero {
        display: none;
    }
}