* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f0f4f8;
    color: #333;
}

/* NAV */
nav {
    background-color: #1a73e8;
    padding: 14px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav .logo {
    color: white;
    font-size: 1.3rem;
    font-weight: bold;
    text-decoration: none;
}

nav a {
    color: white;
    text-decoration: none;
    margin-left: 20px;
    font-size: 0.95rem;
}

nav a:hover {
    text-decoration: underline;
}

/* HERO */
.hero {
    text-align: center;
    padding: 80px 20px;
    background: linear-gradient(135deg, #1a73e8, #0d47a1);
    color: white;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.hero p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* BUTTONS */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    transition: opacity 0.2s;
}

.btn:hover { opacity: 0.85; }

.btn-primary {
    background-color: #1a73e8;
    color: white;
}

.btn-white {
    background-color: white;
    color: #1a73e8;
    margin-right: 10px;
}

.btn-danger {
    background-color: #e53935;
    color: white;
}

/* FEATURES SECTION */
.features {
    display: flex;
    justify-content: center;
    gap: 24px;
    padding: 60px 30px;
    flex-wrap: wrap;
}

.feature-card {
    background: white;
    border-radius: 10px;
    padding: 30px 24px;
    width: 240px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.feature-card .icon {
    font-size: 2.5rem;
    margin-bottom: 14px;
}

.feature-card h3 {
    margin-bottom: 10px;
    color: #1a73e8;
}

.feature-card p {
    font-size: 0.9rem;
    color: #666;
}

/* FORMS */
.form-container {
    max-width: 440px;
    margin: 60px auto;
    background: white;
    padding: 36px;
    border-radius: 10px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.1);
}

.form-container h2 {
    margin-bottom: 24px;
    color: #1a73e8;
    text-align: center;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    font-size: 0.9rem;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 0.95rem;
    outline: none;
    transition: border 0.2s;
}

.form-group input:focus,
.form-group select:focus {
    border-color: #1a73e8;
}

.form-container .btn {
    width: 100%;
    text-align: center;
    margin-top: 8px;
}

.form-container p {
    text-align: center;
    margin-top: 16px;
    font-size: 0.9rem;
    color: #555;
}

.form-container p a {
    color: #1a73e8;
}

/* ALERTS */
.alert {
    padding: 12px 16px;
    border-radius: 6px;
    margin-bottom: 18px;
    font-size: 0.9rem;
}

.alert-error {
    background-color: #fdecea;
    color: #c62828;
    border-left: 4px solid #e53935;
}

.alert-success {
    background-color: #e8f5e9;
    color: #2e7d32;
    border-left: 4px solid #43a047;
}

/* DASHBOARD */
.dashboard-wrapper {
    max-width: 1000px;
    margin: 40px auto;
    padding: 0 20px;
}

.dashboard-wrapper h2 {
    margin-bottom: 24px;
    color: #1a73e8;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 36px;
}

.stat-card {
    background: white;
    border-radius: 10px;
    padding: 24px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.stat-card .stat-number {
    font-size: 2rem;
    font-weight: bold;
    color: #1a73e8;
}

.stat-card .stat-label {
    font-size: 0.9rem;
    color: #666;
    margin-top: 6px;
}

/* TABLES */
.table-container {
    background: white;
    border-radius: 10px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    overflow-x: auto;
}

.table-container h3 {
    margin-bottom: 16px;
    color: #333;
}

table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.92rem;
}

th {
    background-color: #f0f4f8;
    padding: 12px;
    text-align: left;
    font-weight: 600;
    color: #555;
}

td {
    padding: 12px;
    border-bottom: 1px solid #eee;
}

tr:last-child td { border-bottom: none; }

tr:hover td { background-color: #fafafa; }

/* FOOTER */
footer {
    text-align: center;
    padding: 30px;
    color: #888;
    font-size: 0.85rem;
    margin-top: 60px;
}

/* RESPONSIVE */
@media (max-width: 600px) {
    .hero h1 { font-size: 1.7rem; }
    nav { flex-direction: column; gap: 10px; }
    .features { flex-direction: column; align-items: center; }
}