body {
    background-color: #f0f2f5;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.navbar {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%) !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    padding: 1rem 0;
}

.navbar-brand {
    font-weight: bold;
    font-size: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.nav-link {
    position: relative;
    margin: 0 5px;
    padding: 8px 16px !important;
    border-radius: 8px;
    transition: all 0.3s ease;
    background: rgba(255,255,255,0.1);
    box-shadow: 0 4px 6px rgba(0,0,0,0.1),
                inset 0 1px 0 rgba(255,255,255,0.1);
}

.nav-link:hover {
    transform: translateY(-2px);
    background: rgba(255,255,255,0.2);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15),
                inset 0 1px 0 rgba(255,255,255,0.2);
}

.nav-link:active {
    transform: translateY(1px);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1),
                inset 0 1px 0 rgba(255,255,255,0.1);
}

.dropdown-menu {
    border: none;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(10px);
    padding: 0.5rem;
}

.dropdown-item {
    border-radius: 8px;
    margin: 4px 0;
    padding: 8px 16px;
    transition: all 0.3s ease;
}

.dropdown-item:hover {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    transform: translateX(5px);
}

.welcome-card {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    border: none;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
    margin-top: 2rem;
    padding: 3rem;
    position: relative;
    overflow: hidden;
}

.welcome-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 100%);
    pointer-events: none;
}

.welcome-card .card-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.welcome-card .card-text {
    font-size: 1.2rem;
    opacity: 0.9;
    line-height: 1.6;
}

.table {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.btn {
    border-radius: 8px;
    padding: 0.6rem 1.2rem;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    border: none;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

.btn:active {
    transform: translateY(1px);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.form-control {
    border-radius: 8px;
    padding: 0.75rem;
    border: 2px solid #e1e5ea;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

.form-control:focus {
    border-color: #1e3c72;
    box-shadow: 0 0 0 3px rgba(30,60,114,0.1);
}

.card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    overflow: hidden;
}

.card-header {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    padding: 1.2rem;
    border-bottom: none;
}

@media (max-width: 768px) {
    .welcome-card .card-title {
        font-size: 2rem;
    }
    
    .welcome-card .card-text {
        font-size: 1rem;
    }
    
    .nav-link {
        margin: 5px 0;
    }
}


/* Common layout styles */
body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.sticky-nav {
    position: sticky;
    top: 0;
    z-index: 1000;
}

.sticky-footer {
    margin-top: auto;
    background-color: #0d6efd;
    color: white;
    padding: 1rem 0;
}

.main-content {
    flex: 1;
    padding: 2rem 0;
}