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

:root {
    --primary-color: #e91e63;
    --primary-dark: #c2185b;
    --secondary-color: #fce4ec;
    --text-color: #333;
    --light-bg: #f8f9fa;
    --white: #ffffff;
    --border-color: #dee2e6;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --radius: 8px;
}

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

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background: radial-gradient(circle at top right, #fff5f8, #f8faff);
    min-height: 100vh;
}

.auth-page {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background-color: var(--white);
    padding: 15px 0;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
}

.logo img {
    height: 40px;
}

.nav-links {
    display: flex;
    gap: 25px;
    align-items: center;
}

.nav-links li a {
    font-weight: 600;
    color: var(--text-color);
    font-size: 15px;
    transition: all 0.3s;
}

.nav-links li a:hover {
    color: var(--primary-color);
}

.admin-link {
    background: #1e1b4b;
    color: #fff !important;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 13px !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.admin-link:hover {
    background: #312e81;
}

.btn {
    padding: 10px 20px;
    border-radius: var(--radius);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    box-shadow: 0 4px 20px 0 rgba(233, 30, 99, 0.4);
    border: 2px solid transparent;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(233, 30, 99, 0.5);
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
}

.btn-outline {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(5px);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(233, 30, 99, 0.3);
}

.btn-sm {
    padding: 6px 15px;
    font-size: 14px;
}

/* Hero Section */
.hero {
    padding: 160px 0 120px;
    text-align: center;
    background: linear-gradient(rgba(255, 255, 255, 0.75), rgba(255, 255, 255, 0.95)), url('../images/new_hero_bg.png') center/cover no-repeat;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgba(233, 30, 99, 0.1);
}

/* Features Section */
.features {
    padding: 100px 0;
    position: relative;
    background-color: var(--white);
    border-bottom: 1px solid rgba(233, 30, 99, 0.1);
}

.hero h1 {
    font-size: 64px;
    font-weight: 800;
    margin-bottom: 25px;
    background: linear-gradient(135deg, #e91e63 0%, #1e1b4b 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0px 4px 15px rgba(233, 30, 99, 0.15);
    animation: fadeInDown 1s ease-out;
}

.hero p {
    font-size: 22px;
    color: #334155;
    max-width: 750px;
    margin: 0 auto 45px;
    line-height: 1.7;
    animation: fadeInUp 1s ease-out 0.3s backwards;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Form Styles */
.card {
    background-color: rgba(255, 255, 255, 0.85);
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(12px);
    transition: all 0.4s ease;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(233, 30, 99, 0.1);
    border-color: rgba(233, 30, 99, 0.2);
}

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

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    font-size: 14px;
    color: var(--text-muted);
}

.form-control {
    width: 100%;
    padding: 14px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 16px;
    transition: all 0.2s;
    background-color: #fcfdfe;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-light);
    background-color: var(--white);
    box-shadow: 0 0 0 4px rgba(255, 64, 129, 0.1);
}

/* Footer */
footer {
    background-color: #1a1a1a;
    color: #cbd5e1;
    padding: 80px 0 30px;
    margin-top: 0;
    /* Removed margin-top to fix gaps */
}

/* Admin Layout Helpers */
.admin-wrapper {
    display: flex;
    background: #f8fafc;
    min-height: calc(100vh - 80px);
    /* Adjust based on header height */
    align-items: stretch;
}

.admin-sidebar {
    width: 280px;
    background: #1e1b4b;
    color: #fff;
    flex-shrink: 0;
}

.admin-main {
    flex: 1;
    padding: 40px 60px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
}

.footer-content h3 {
    color: #fff;
    margin-bottom: 25px;
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-content p {
    font-size: 15px;
    line-height: 1.8;
    max-width: 400px;
}

.footer-content ul li {
    margin-bottom: 12px;
}

.footer-content ul li a {
    font-size: 15px;
    transition: all 0.3s;
    color: #94a3b8;
}

.footer-content ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    margin-top: 60px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 14px;
    color: #64748b;
}

/* Sections */
section {
    padding: 80px 0;
}

.section-spacing {
    padding-bottom: 80px;
}

/* Admin Specific */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.stats-card {
    background: #fff;
    padding: 25px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    text-align: center;
    border-top: 4px solid var(--primary-color);
    transition: transform 0.3s ease;
}

.stats-card:hover {
    transform: translateY(-5px);
}

.stats-card p {
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}

.stats-card h2 {
    font-size: 32px;
    font-weight: 800;
    color: var(--text-color);
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 36px;
    }

    .hero {
        padding: 60px 0;
    }

    .auth-page {
        padding: 40px 15px;
    }

    .card {
        padding: 25px;
    }

    .container {
        padding: 0 15px;
    }

    nav ul {
        display: none !important;
        /* Hide nav links on mobile for now - could add a burger later */
    }

    header .container {
        justify-content: center;
    }

    div[style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
    }
}