@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700&display=swap');

:root {
    --primary-color: #3785b6;
    --accent-color: #f8c027;
    --bg-color: #fdfdfd;
    --text-color: #2c3e50;
    --white: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.3);
    --shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.1);
}

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

body {
    font-family: 'Outfit', sans-serif;
    background: linear-gradient(135deg, var(--bg-color) 0%, #eef2f3 100%);
    color: var(--text-color);
    margin: 0;
    padding: 0;
}

#app {
    min-height: 100vh;
}

.min-vh-100 { min-height: 100vh; }
.d-flex { display: flex; }
.align-items-center { align-items: center; }
.justify-content-center { justify-content: center; }
.p-3 { padding: 1rem; }

/* Glassmorphism Container */
.auth-wrapper {
    flex-direction: column;
}
.auth-container {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow);
    padding: 40px;
    width: 100%;
    max-width: 450px;
    margin: auto;
}

.auth-header {
    text-align: center;
    margin-bottom: 30px;
}

.auth-header h1 {
    color: var(--primary-color);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.auth-header p {
    color: #7f8c8d;
}

/* Form Styles */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--primary-color);
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border-radius: 10px;
    border: 1px solid #ddd;
    background: rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(55, 133, 182, 0.2);
}

.form-control.is-invalid {
    border-color: #e74c3c;
}

.invalid-feedback {
    color: #e74c3c;
    font-size: 0.85rem;
    margin-top: 5px;
}

/* Buttons */
.btn {
    display: inline-block;
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    text-decoration: none;
}

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

.btn-primary:hover {
    background: #2b6a91;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(55, 133, 182, 0.3);
}

.btn-accent {
    background: var(--accent-color);
    color: var(--text-color);
}

.btn-accent:hover {
    background: #e2ae22;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(248, 192, 39, 0.3);
}

/* Helpers */
.text-center { text-align: center; }
.mt-3 { margin-top: 1rem; }
.auth-footer {
    margin-top: 20px;
    font-size: 0.9rem;
    color: #7f8c8d;
}

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

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

.animate-fade-in {
    animation: fadeIn 0.6s ease-out forwards;
}
