/* PLANNER Marketing - Auth Styles */

:root {
    --bg-dark: #f8fafc;
    --card-bg: rgba(255, 255, 255, 0.8);
    --border-color: rgba(15, 23, 42, 0.08);
    --text-primary: #0f172a;
    --text-secondary: #64748b;
    
    /* Logo Colors */
    --brand-blue-dark: #00224d;
    --brand-blue: #2563eb;
    --brand-green: #10b981;
    --brand-purple: #8b5cf6;
    --brand-pink: #ec4899;
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-primary);
    overflow-x: hidden;
    min-height: 100vh;
}

/* Background & Aesthetic Floating Shapes */
.auth-container {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem 1.5rem;
    z-index: 1;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    z-index: -1;
    opacity: 0.35;
    pointer-events: none;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, var(--brand-blue), var(--brand-purple));
    top: -50px;
    left: -100px;
}

.shape-2 {
    width: 450px;
    height: 450px;
    background: linear-gradient(135deg, var(--brand-purple), var(--brand-pink));
    bottom: -100px;
    right: -100px;
}

.shape-3 {
    width: 300px;
    height: 300px;
    background: var(--brand-green);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.15;
    filter: blur(150px);
}

/* Auth Wrapper & Logo */
.auth-card-wrapper {
    width: 100%;
    max-width: 520px;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    z-index: 2;
    animation: fadeIn 0.8s ease-out;
}

.auth-logo-section {
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo-branding {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 2.5rem;
    display: flex;
    align-items: center;
    letter-spacing: -0.5px;
}

.logo-p {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, #0e2954 0%, #1f509e 50%, var(--brand-purple) 100%);
    color: white;
    border-radius: 12px;
    margin-right: 12px;
    font-size: 2.2rem;
    font-weight: 900;
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.3);
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.logo-p::before {
    content: '';
    position: absolute;
    left: -5px;
    top: 15%;
    height: 70%;
    width: 5px;
    background: linear-gradient(to bottom, var(--brand-green), var(--brand-blue), var(--brand-purple), var(--brand-pink));
    border-radius: 4px;
}

.logo-text {
    color: var(--text-primary);
}

.dot-green {
    color: var(--brand-green);
}

.logo-subtext {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--brand-purple);
    margin-left: 2px;
}

/* Card Styling (Glassmorphism) */
.auth-card {
    background-color: var(--card-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 3rem 2.5rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.auth-header {
    margin-bottom: 2rem;
    text-align: center;
}

.auth-header h1 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    letter-spacing: -0.3px;
}

.auth-header p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.auth-header p a {
    color: var(--brand-purple);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.auth-header p a:hover {
    color: var(--brand-pink);
    text-decoration: underline;
}

/* Form Styling */
.auth-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

@media (max-width: 480px) {
    .form-group-row {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    position: relative;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    letter-spacing: 0.2px;
}

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

.input-wrapper i {
    position: absolute;
    left: 1.25rem;
    color: var(--text-secondary);
    font-size: 1rem;
    transition: color 0.3s ease;
}

.form-control {
    width: 100%;
    padding: 0.9rem 1.25rem 0.9rem 2.75rem;
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.form-control:focus {
    outline: none;
    border-color: var(--brand-purple);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.2);
    background-color: #ffffff;
}

.form-control:focus + i {
    color: var(--brand-purple);
}

/* Checkbox and links */
.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    margin-top: -0.25rem;
}

.checkbox-wrapper {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    color: var(--text-secondary);
}

.checkbox-wrapper input {
    accent-color: var(--brand-purple);
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.forgot-password {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s;
}

.forgot-password:hover {
    color: var(--brand-purple);
}

/* Buttons */
.btn-primary {
    width: 100%;
    padding: 0.9rem;
    background: linear-gradient(135deg, var(--brand-blue), var(--brand-purple));
    border: none;
    border-radius: 12px;
    color: white;
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.25);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.4);
    background: linear-gradient(135deg, var(--brand-purple), var(--brand-pink));
}

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

/* Validation Alerts */
.alert {
    padding: 0.8rem 1.25rem;
    border-radius: 12px;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.alert-danger {
    background-color: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.15);
    color: #ef4444;
}

.alert-success {
    background-color: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.15);
    color: #10b981;
}

.invalid-feedback {
    color: #f87171;
    font-size: 0.8rem;
    margin-top: 0.25rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

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

@media (max-width: 580px) {
    .auth-card {
        padding: 2.25rem 1.75rem;
    }
    .logo-branding {
        font-size: 2.1rem;
    }
    .logo-p {
        width: 45px;
        height: 45px;
        font-size: 1.8rem;
    }
}
