/* Global Styles */
body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #424242;
    background-color: #F5F5F5;
}

/* Navbar */
.navbar {
    background: linear-gradient(135deg, #2E7D32, #1976D2) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
}

.navbar-brand {
    color: white !important;
    font-weight: 700;
    font-size: 1.5rem;
}

.nav-link {
    color: white !important;
    font-weight: 500;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: #FFF3E0 !important;
}

/* Buttons */
.btn {
    border-radius: 8px;
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: #2E7D32;
    border-color: #2E7D32;
}

.btn-primary:hover {
    background-color: #1B5E20;
    transform: translateY(-2px);
}

/* Exception: Don't apply hover effects to modal buttons */
.modal .btn,
.modal .btn:hover,
.modal.show .btn,
.modal.show .btn:hover,
.modal .btn-primary,
.modal .btn-primary:hover,
.modal.show .btn-primary,
.modal.show .btn-primary:hover {
    transform: none !important;
    transition: none !important;
}

.btn-success {
    background-color: #28a745;
    border-color: #28a745;
}

.btn-warning {
    background-color: #ff9800;
    border-color: #ff9800;
    color: white;
}

/* Cards */
.card {
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Exception: Don't apply hover effects to modal cards */
.modal .card,
.modal .card:hover,
.modal.show .card,
.modal.show .card:hover {
    transform: none !important;
    box-shadow: inherit !important;
    transition: none !important;
}

/* Section Titles */
.section-title {
    font-size: 2rem;
    font-weight: 600;
    color: #2E7D32;
    margin-bottom: 1rem;
}

.section-subtitle {
    color: #666;
    font-size: 1.1rem;
}

/* Forms */
.form-control {
    border: 2px solid #E0E0E0;
    border-radius: 8px;
    padding: 0.75rem 1rem;
}

.form-control:focus {
    border-color: #2E7D32;
    box-shadow: 0 0 0 0.2rem rgba(46, 125, 50, 0.25);
}

/* Alerts */
.alert {
    border-radius: 8px;
    border: none;
    padding: 1rem 1.5rem;
}

/* Tables */
.table {
    background: white;
}

.table thead th {
    background-color: #2E7D32;
    color: white;
    border: none;
}

/* Footer */
footer {
    margin-top: auto;
}

