/* ===== Tết 2026 Theme ===== */

* {
    box-sizing: border-box;
}

html, body {
    width: 100%;
    height: 100%;
}

body {
    background: linear-gradient(180deg, #0d5c52, #052d28) !important;
    background-attachment: fixed !important;
    color: #a8d5ba !important;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
    min-height: 100vh !important;
}

/* Navbar Override Bootstrap */
nav.navbar {
    background: linear-gradient(90deg, #c40000, #ffbf00) !important;
    color: rgb(9, 4, 4) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) !important;
    padding: 1rem 0 !important;
    position: relative !important;
    z-index: 1000 !important;
}

.navbar-tet {
    background: linear-gradient(90deg, #c40000, #ffbf00) !important;
    color: rgb(14, 8, 8) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) !important;
    padding: 1rem 0 !important;
    position: relative !important;
    z-index: 1000 !important;
}

.navbar-brand {
    color: white !important;
    font-weight: 700 !important;
    font-size: 1.3rem !important;
    letter-spacing: 0.5px !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5) !important;
}

.nav-link {
    color: white !important;
    font-weight: 600 !important;
    margin: 0 8px !important;
    transition: all 0.3s ease !important;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5) !important;
}

.nav-link:hover {
    opacity: 0.85 !important;
    transform: translateY(-2px) !important;
    color: #ffdf5c !important;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7) !important;
}

.navbar-toggler {
    border-color: rgba(255, 255, 255, 0.5) !important;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

/* Cards */
.card-tet {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    backdrop-filter: blur(8px);
    padding: 20px;
    color: #070505;
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.card-tet:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 12px 40px rgba(255, 223, 92, 0.2);
}

.card-tet h4, .card-tet h5 {
    color: #ffdf5c;
    font-weight: 700;
    margin-bottom: 12px;
}

.card-tet p {
    color: rgba(168, 213, 186, 0.95);
    margin: 0;
}

/* Falling Flowers */
.maifall {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}

.maifall span {
    position: absolute;
    top: -50px;
    color: #ffdf5c;
    font-size: 2rem;
    animation: maiFall linear infinite;
    opacity: 0.8;
    text-shadow: 0 0 10px rgba(255, 223, 92, 0.6);
}

@keyframes maiFall {
    0% {
        transform: translateY(-50px) rotateZ(0deg) translateX(0);
        opacity: 1;
    }
    100% {
        transform: translateY(120vh) rotateZ(360deg) translateX(50px);
        opacity: 0.3;
    }
}

/* Banner */
.banner-tet {
    text-align: center;
    padding: 30px 20px;
    background: rgba(255, 255, 255, 0.08);
    border: 2px solid rgba(255, 223, 92, 0.4);
    border-radius: 15px;
    margin-bottom: 30px;
    box-shadow: 0 8px 32px rgba(255, 223, 92, 0.15);
}

.banner-tet h2 {
    color: #ffdf5c;
    font-size: 2rem;
    font-weight: 700;
    margin: 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    letter-spacing: 1px;
}

.banner-tet p {
    color: #a8d5ba;
    font-size: 1.1rem;
    margin: 10px 0 0 0;
    font-weight: 500;
}

/* Fireworks Canvas */
#fireworksCanvas {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 0;
    pointer-events: none;
}

/* Content wrapper */
main, .container, .container-fluid {
    position: relative;
    z-index: 10;
}

/* Forms & Input */
.form-control, .form-select {
    background: rgba(148, 79, 79, 0.9) !important;
    border: 1px solid rgba(255, 223, 92, 0.3) !important;
    color: #333 !important;
}

.form-control:focus, .form-select:focus {
    background: rgba(255, 255, 255, 1) !important;
    border-color: rgba(255, 223, 92, 0.8) !important;
    box-shadow: 0 0 0 0.2rem rgba(255, 223, 92, 0.25) !important;
}

/* Tables */
.table {
    color: #a8d5ba !important;
}

.table thead th {
    border-bottom-color: rgba(255, 223, 92, 0.3) !important;
    color: #ffdf5c !important;
}

.table tbody td {
    border-bottom-color: rgba(255, 255, 255, 0.1) !important;
}

/* Buttons */
.btn-tet {
    background: linear-gradient(135deg, #ffbf00, #ffdf5c);
    color: #700000 !important;
    border: none;
    font-weight: 700;
    padding: 10px 20px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-tet:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(255, 223, 92, 0.4);
    color: #700000 !important;
}

/* Text selections */
.text-tet {
    color: #ffdf5c !important;
}

/* Login Form */
.card {
    background: rgba(255, 255, 255, 0.95) !important;
    border: none !important;
    border-radius: 12px !important;
}

.card h3 {
    color: #0d5c52 !important;
}

.card-body {
    background: rgba(255, 255, 255, 0.98) !important;
}

.form-label {
    color: #333 !important;
}

.form-control {
    background: rgba(255, 255, 255, 1) !important;
    border: 1px solid #ddd !important;
    color: #333 !important;
}

.form-control:focus {
    border-color: #0d5c52 !important;
    box-shadow: 0 0 0 0.2rem rgba(13, 92, 82, 0.25) !important;
}

.btn-success {
    background: #0d5c52 !important;
    border: none !important;
    color: white !important;
}

.btn-success:hover {
    background: #0a4a40 !important;
}

.text-center a {
    color: #0d5c52 !important;
}
@media (max-width: 768px) {
    .navbar-brand {
        font-size: 1.1rem;
    }
    
    .banner-tet h2 {
        font-size: 1.5rem;
    }
    
    .nav-link {
        margin: 0 4px;
        font-size: 0.9rem;
    }
    
    .maifall span {
        font-size: 1.5rem;
    }
}

/* Scrollbar custom */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 223, 92, 0.5);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 223, 92, 0.8);
}
