
/* === Google Fonts & Font Awesome (simulation) === */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

/* === Base Styles === */
:root {
    --primary-color: #28a745;
    --dark-bg: #121418;
    --content-bg: #1a1d24;
    --card-bg: #242832;
    --text-light: #f0f0f0;
    --text-muted: #a0a0a0;
    --border-color: rgba(255, 255, 255, 0.08);
}

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

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-light);
    background-color: var(--dark-bg);
}

/* === Home Page: Header & Navigation === */
header.main-header { /* ... existing styles ... */ }
.logo-container { /* ... existing styles ... */ }
/* ... other home page styles ... */

/* === Login Page Styles === */
.login-page-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: linear-gradient(rgba(18, 20, 24, 0.9), rgba(18, 20, 24, 0.7)), url('images/landing-bg.png') no-repeat center center/cover;
}

.login-box {
    width: 100%;
    max-width: 450px;
    background-color: var(--content-bg);
    border-radius: 10px;
    padding: 40px 50px;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}

.login-header { text-align: center; margin-bottom: 30px; }
.login-header .sidebar-logo-img { margin: 0 auto 15px auto; }
.login-header h2 { font-size: 1.8rem; font-weight: 600; margin-bottom: 5px; }
.login-header p { color: var(--text-muted); font-size: 0.95rem; }
.login-form .input-group { margin-bottom: 20px; }
.login-form label { display: block; margin-bottom: 8px; font-weight: 500; font-size: 0.9rem; }

.login-form input,
.login-form select {
    width: 100%;
    padding: 12px 15px;
    background-color: var(--dark-bg);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    color: var(--text-light);
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    -webkit-appearance: none; /* Removes default OS styling for select */
    -moz-appearance: none;
    appearance: none;
    background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22%23a0a0a0%22%3E%3Cpath%20d%3D%22M7.41%208.59L12%2013.17l4.59-4.58L18%2010l-6%206-6-6%201.41-1.41z%22/%3E%3C/svg%3E');
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 20px;
}

.login-form select option {
    background-color: var(--dark-bg);
    color: var(--text-light);
}

.login-form input:focus,
.login-form select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.2);
}

.login-options { display: flex; justify-content: flex-end; margin-bottom: 25px; }
.login-options .forgot-password { font-size: 0.9rem; color: var(--primary-color); }
.login-options .forgot-password:hover { text-decoration: underline; }
.login-button { width: 100%; padding: 15px; background-color: var(--primary-color); border: none; border-radius: 6px; color: #fff; font-size: 1.1rem; font-weight: 600; cursor: pointer; transition: background-color 0.3s ease; }
.login-button:hover { background-color: #218838; }
.login-footer { text-align: center; margin-top: 30px; }
.login-footer p { color: var(--text-muted); font-size: 0.9rem; }

/* === All Dashboard, Hero, and other styles remain the same below === */
/* (Keeping the rest of the file identical to the previous version) */

header.main-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-img { width: 45px; height: 45px; background-color: var(--primary-color); border-radius: 5px; }

.logo-text span {
    display: block;
    font-weight: 600;
    line-height: 1.2;
}
.logo-text span:first-child { font-size: 1.1rem; }
.logo-text span:last-child { font-size: 0.8rem; color: var(--text-muted); }

.nav-links {
    list-style: none;
    display: flex;
    gap: 40px;
}

.nav-links a {
    font-weight: 500;
    padding-bottom: 5px;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.header-login-btn {
    background-color: var(--primary-color);
    padding: 10px 25px;
    border-radius: 5px;
    font-weight: 500;
    transition: background-color 0.3s ease;
}
.header-login-btn:hover { background-color: #218838; }

/* === Home Page: Hero Section === */
.hero-section {
    min-height: 100vh;
    width: 100%;
    background: linear-gradient(rgba(18, 20, 24, 0.9), rgba(18, 20, 24, 0.7)), url('images/landing-bg.png') no-repeat center center/cover;
    display: flex;
    align-items: center;
    padding: 80px 5% 150px 5%;
    position: relative;
}

.hero-content .welcome-text { color: var(--primary-color); font-weight: 600; font-size: 1.2rem; }
.hero-content h1 { font-size: 4rem; font-weight: 700; line-height: 1.1; }
.hero-content .highlight { color: var(--primary-color); }
.hero-content .subtitle { font-size: 1.5rem; font-weight: 500; margin: 10px 0 20px; }
.hero-content p { font-size: 1rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 30px; }
.hero-buttons { display: flex; gap: 20px; }
.btn { padding: 12px 30px; border-radius: 5px; font-weight: 500; display: inline-flex; align-items: center; gap: 8px; transition: all 0.3s ease; }
.btn-primary { background-color: var(--primary-color); color: #fff; }
.btn-primary:hover { background-color: #218838; transform: translateY(-2px); }
.btn-secondary { background-color: transparent; border: 1px solid var(--text-muted); color: var(--text-light); }
.btn-secondary:hover { background-color: var(--card-bg); border-color: var(--text-light); transform: translateY(-2px); }

/* === Home Page: Features Bar === */
.features-bar { position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 90%; max-width: 1200px; background-color: rgba(0, 0, 0, 0.4); backdrop-filter: blur(10px); border-radius: 15px 15px 0 0; padding: 25px; display: flex; justify-content: space-around; gap: 20px; z-index: 50; border: 1px solid rgba(255, 255, 255, 0.1); border-bottom: none; }
.feature-item { display: flex; align-items: center; gap: 15px; min-width: 200px; }
.feature-item-text h4 { font-size: 1rem; font-weight: 600; }
.feature-item-text p { font-size: 0.8rem; color: var(--text-muted); }

/* === Main Dashboard Layout === */
.dashboard-container { display: flex; min-height: 100vh; }
.sidebar { width: 260px; background-color: var(--content-bg); padding: 20px; display: flex; flex-direction: column; border-right: 1px solid var(--border-color); }
.sidebar-header { display: flex; align-items: center; gap: 15px; padding-bottom: 20px; margin-bottom: 25px; border-bottom: 1px solid var(--border-color); }
.sidebar-logo-img { width: 40px; height: 40px; background-color: var(--primary-color); border-radius: 5px; }
.sidebar-logo-text { font-weight: 600; font-size: 1.2rem; }
.sidebar-nav { list-style: none; flex-grow: 1; }
.sidebar-nav li a { display: flex; align-items: center; gap: 15px; padding: 15px 10px; border-radius: 8px; margin-bottom: 5px; font-weight: 500; transition: background-color 0.3s ease, color 0.3s ease; }
.sidebar-nav li a::before { content: ''; width: 20px; height: 20px; background-color: var(--text-muted); opacity: 0.6; display: inline-block; }
.sidebar-nav li a:hover, .sidebar-nav li a.active { background-color: var(--primary-color); color: #fff; }
.sidebar-nav li a:hover::before, .sidebar-nav li a.active::before { background-color: #fff; }
.sidebar-footer a { display: block; text-align: center; padding: 15px; background: var(--card-bg); border-radius: 8px; }
.main-content { flex-grow: 1; padding: 30px 40px; background-color: var(--dark-bg); }
.main-content > .main-header { display: flex; justify-content: space-between; align-items: center; position: static; padding: 0; }
.header-title h1 { font-size: 2rem; font-weight: 700; }
.header-title p { color: var(--text-muted); }

/* === Stats Cards === */
.stats-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 25px; margin-top: 30px; }
.stat-card { background-color: var(--content-bg); padding: 25px; border-radius: 10px; border: 1px solid var(--border-color); transition: transform 0.3s ease, box-shadow 0.3s ease; }
.stat-card:hover { transform: translateY(-5px); box-shadow: 0 8px 25px rgba(0,0,0,0.2); }
.card-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 20px; }
.card-header h3 { font-size: 1rem; color: var(--text-muted); font-weight: 500; }
.card-icon { width: 45px; height: 45px; background-color: var(--card-bg); border-radius: 8px; }
.card-value { font-size: 2.5rem; font-weight: 700; }
.card-footer-text { color: var(--text-muted); font-size: 0.9rem; margin-top: 5px; }

/* Main Data Area */
.main-data-area { margin-top: 40px; background-color: var(--content-bg); border-radius: 10px; padding: 30px; border: 1px solid var(--border-color); }

/* Responsive adjustments */
@media (max-width: 992px) {
    .nav-links { display: none; }
    .hero-content h1 { font-size: 3.2rem; }
    .features-bar { position: static; transform: none; width: 100%; border-radius: 0; }
    .hero-section { padding-bottom: 40px; }
    /* Add responsive styles for dashboard if needed */
}
