body {
    font-family: 'Comic Sans MS', 'Arial', sans-serif;
    background: linear-gradient(135deg, #e8f5e9 60%, #c8e6c9 100%);
}

header {
    background-color: #4CAF50;
    color: white;
    padding: 15px 0;
    text-align: center;
}

nav {
    margin: 20px 0;
}

nav a {
    margin: 0 15px;
    color: white;
    text-decoration: none;
}

nav a:hover {
    text-decoration: underline;
}

/* Đã chuyển dropdown về mặc định Bootstrap click, nên xóa hiệu ứng hover */
/* .navbar-nav .dropdown:hover .dropdown-menu { display: block; margin-top: 0; visibility: visible; opacity: 1; } */
.navbar-nav .dropdown-menu {
    position: absolute;
    left: 0;
    top: 100%;
    margin-top: 0;
    z-index: 1050;
    background: #fff;
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,.15);
}
/* .navbar-nav .dropdown-menu { position: absolute; left: 0; top: 100%; margin-top: 0; visibility: hidden; opacity: 0; transition: opacity 0.2s; z-index: 1000; } */
/* .navbar-nav .dropdown:hover > .dropdown-menu { visibility: visible; opacity: 1; } */

.container {
    width: 80%;
    margin: auto;
    overflow: hidden;
}

footer {
    background-color: #ffb6c1;
    color: white;
    text-align: center;
    padding: 10px 0;
    position: relative;
    bottom: 0;
    width: 100%;
    font-family: 'Comic Sans MS', 'Arial', sans-serif;
}

h1, h2, h3 {
    color: #ff69b4;
    font-family: 'Comic Sans MS', 'Arial', sans-serif;
    text-shadow: 1px 1px 2px #fff0f5;
}

p {
    line-height: 1.6;
}

.button {
    display: inline-block;
    font-size: 16px;
    color: white;
    background-color: #4CAF50;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    text-decoration: none;
}

.button:hover {
    background-color: #45a049;
}

.btn-primary, .btn-info, .btn-success, .btn-secondary {
    border-radius: 20px;
    font-weight: bold;
    font-size: 1.1em;
}

.table {
    background: #fff0f5;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(255, 182, 193, 0.2);
}

.table th {
    background: #ffb6c1;
    color: #fff;
    font-size: 1em;
    text-align: center;
}

.table td {
    text-align: center;
    vertical-align: middle;
    font-size: 1em;
    color: #d2691e;
}

.form-control, .form-label {
    border-radius: 12px;
    font-size: 1.1em;
}

.form-label {
    color: #ff69b4;
    font-weight: bold;
}

.form-control:focus {
    border-color: #ffb6c1;
    box-shadow: 0 0 0 0.2rem rgba(255,182,193,.25);
}

.card {
    border-radius: 18px;
    box-shadow: 0 2px 8px rgba(255, 182, 193, 0.2);
    background: #fff0f5;
}

@media (max-width: 768px) {
    .mobile-btn-group {
        display: flex;
        flex-direction: column;
        gap: 8px;
        margin-bottom: 1rem;
    }
    
    .mobile-btn-group .btn {
        width: 100%;
        min-height: 44px;
        font-size: 1rem;
        font-weight: 600;
    }
    .menu-btn-uniform {
        min-width: 90px;
        max-width: 100%;
        font-size: 0.97em !important;
        padding: 8px 0 !important;
        margin-bottom: 4px;
    }
    .menu-btn-uniform-group {
        gap: 6px !important;
    }
    
    .mobile-grid-2 {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    
    .mobile-form-control {
        font-size: 16px; /* Prevents zoom on iOS */
        min-height: 44px;
    }
    
    .mobile-tab-nav .nav-link {
        min-height: 44px;
        font-size: 1rem;
        padding: 12px 8px;
    }
    
    .navbar-nav .nav-link {
        padding: 12px 16px !important;
        min-height: 44px;
        border-bottom: 1px solid #f0f0f0;
    }
    
    .navbar-nav .nav-link:last-child {
        border-bottom: none;
    }
    
    .table-responsive {
        font-size: 0.9rem;
    }
    
    .btn-sm {
        min-height: 36px;
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .container-fluid {
        padding-left: 12px;
        padding-right: 12px;
    }
    
    .navbar-brand {
        font-size: 1.1rem !important;
    }
    
    .mobile-btn-group .btn {
        font-size: 0.95rem;
        padding: 10px 12px;
    }
    .menu-btn-uniform {
        font-size: 0.95em !important;
        padding: 8px 0 !important;
        min-width: 80px;
    }
    .menu-btn-uniform-group {
        gap: 4px !important;
    }
    
    .mobile-form-control {
        font-size: 16px;
        padding: 10px 12px;
    }
    
    .card-body {
        padding: 1rem 0.75rem;
    }
    
    .table-responsive {
        font-size: 0.8rem;
    }
    
    .btn {
        font-size: 0.9rem;
    }
}