@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --primary: #2d5a27;
    --secondary: #1a1a1a;
    --accent: #4ade80;
    --bg-dark: #0f172a;
    --text-white: #f8fafc;
    --text-muted: #94a3b8;
    --card-bg: rgba(255, 255, 255, 0.05);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-white);
    overflow-x: hidden;
}

/* Floating Cows Animation */
.floating-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.cow-emoji {
    position: absolute;
    font-size: 2rem;
    opacity: 0.3;
    animation: float 20s infinite linear;
}

@keyframes float {
    0% {
        transform: translateY(110vh) rotate(0deg);
    }

    100% {
        transform: translateY(-10vh) rotate(360deg);
    }
}

/* Login Card Styling */
.auth-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at top, #1e293b, #0f172a);
    position: relative;
    z-index: 1;
}

.auth-card {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    width: 100%;
    max-width: 450px;
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.auth-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-align: center;
    background: linear-gradient(45deg, #4ade80, #2d5a27);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.input-group {
    margin-bottom: 1.5rem;
}

.input-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.input-group input,
.input-group select {
    width: 100%;
    padding: 0.8rem 1rem;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 8px;
    transition: all 0.3s;
}

.input-group input:focus {
    border-color: var(--accent);
    outline: none;
    box-shadow: 0 0 10px rgba(74, 222, 128, 0.3);
}

.btn-primary {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(45deg, var(--primary), #3e7e36);
    border: none;
    color: white;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.2s, background 0.3s;
}

.btn-primary:active {
    transform: scale(0.98);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .admin-sidebar {
        width: 100%;
        height: auto;
        position: relative;
        padding: 1rem;
    }

    .admin-main {
        margin-left: 0;
        padding: 1rem;
    }

    .grid-2 {
        grid-template-columns: 1fr;
    }

    .header-nav {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .dashboard-container {
        padding: 1rem;
    }
}


/* B2B Dealer Styling Overrides */
.b2b-body {
    background: #050505;
}

.b2b-sidebar {
    background: #0a0a0a;
    border-right: 1px solid #1a1a1a;
}