:root {
    /**--primary: #E63946;**/
    --primary: #FFCCB1;
    --dark: #0F0F0F;
    --light: #F8F9FA;
    --gray: #888;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Inter', sans-serif; background: var(--dark); color: white; line-height: 1.6; overflow-x: hidden; }

/* NAV */
nav { position: fixed; width: 100%; z-index: 1000; padding: 20px 5%; display: flex; justify-content: space-between; align-items: center; background: rgba(0,0,0,0.9); border-bottom: 1px solid #222; }
.logo { font-family: 'Montserrat', sans-serif; font-weight: 900; font-size: 1.5rem; color: white; text-decoration: none; text-transform: uppercase; }
.logo span { color: var(--primary); }
.nav-links { display: flex; gap: 30px; align-items: center; }
.nav-links a { color: white; text-decoration: none; font-weight: 600; font-size: 0.8rem; text-transform: uppercase; transition: 0.3s; }
.nav-links a:hover { color: var(--primary); }
.btn-ticket { background: var(--primary); padding: 12px 25px; color: white; text-decoration: none; font-weight: 800; text-transform: uppercase; font-size: 0.8rem; transition: 0.3s; border: none; cursor: pointer;}
.btn-ticket:hover { background: white; color: var(--dark); }

/* FOOTER */
footer { background: #050505; padding: 80px 5% 20px; border-top: 1px solid #222; margin-top: 50px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 50px; }
.footer-col h5 { font-family: 'Montserrat'; margin-bottom: 20px; text-transform: uppercase; color: var(--gray); }
.footer-col ul { list-style: none; }
.footer-col a { color: #ccc; text-decoration: none; font-size: 0.9rem; }

/* TITRES */
h1, h2, h3 { font-family: 'Montserrat', sans-serif; text-transform: uppercase; }
/* FLASH MESSAGES */
.flash-message {
    position: fixed;
    top: 80px;
    right: 20px;
    z-index: 9999;
    min-width: 300px;
    max-width: 500px;
    padding: 15px 20px;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    animation: slideIn 0.3s ease;
}

.flash-success {
    background: #28a745;
    color: white;
}

.flash-error {
    background: #dc3545;
    color: white;
}

.flash-content {
    display: flex;
    align-items: center;
    gap: 10px;
}

.flash-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    margin-left: auto;
    padding: 0 5px;
}

@keyframes slideIn {
    from {
        transform: translateX(400px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* MOBILE MENU */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--dark);
    z-index: 9999;
    padding: 80px 30px 30px;
    transition: right 0.3s ease;
    box-shadow: -5px 0 15px rgba(0,0,0,0.5);
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
}

.mobile-menu a {
    display: block;
    padding: 15px 0;
    color: white;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 600;
    border-bottom: 1px solid #333;
    transition: 0.3s;
}

.mobile-menu a:hover {
    color: var(--primary);
    padding-left: 10px;
}

/* FORMS */
.form-container {
    max-width: 500px;
    margin: 150px auto 50px;
    padding: 40px;
    background: #1a1a1a;
    border: 1px solid #333;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    color: var(--gray);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px;
    background: var(--dark);
    border: 1px solid #333;
    color: white;
    font-size: 1rem;
    outline: none;
    transition: 0.3s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--primary);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.btn {
    padding: 15px 30px;
    background: var(--primary);
    color: white;
    border: none;
    font-weight: 800;
    text-transform: uppercase;
    cursor: pointer;
    transition: 0.3s;
    text-decoration: none;
    display: inline-block;
}

.btn:hover {
    background: white;
    color: var(--dark);
    transform: translateY(-2px);
}

.btn-secondary {
    background: #333;
}

.btn-secondary:hover {
    background: #555;
    color: white;
}

.form-text {
    text-align: center;
    margin-top: 20px;
    color: var(--gray);
}

.form-text a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

/* TABLES */
.table-container {
    overflow-x: auto;
    background: #1a1a1a;
    border: 1px solid #333;
    margin: 20px 0;
}

table {
    width: 100%;
    border-collapse: collapse;
}

table thead {
    background: #0f0f0f;
}

table th,
table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #333;
}

table th {
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.85rem;
    color: var(--primary);
}

table tr:hover {
    background: #222;
}

/* BADGES */
.badge {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 3px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.badge-success {
    background: #28a745;
    color: white;
}

.badge-warning {
    background: #ffc107;
    color: #000;
}

.badge-danger {
    background: #dc3545;
    color: white;
}

.badge-info {
    background: #17a2b8;
    color: white;
}

/* CARDS */
.card {
    background: #1a1a1a;
    border: 1px solid #333;
    padding: 25px;
    margin-bottom: 20px;
}

.card-header {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary);
}

/* PAGINATION */
.pagination {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin: 40px 0;
}

.pagination a,
.pagination span {
    padding: 10px 15px;
    background: #1a1a1a;
    border: 1px solid #333;
    color: white;
    text-decoration: none;
    transition: 0.3s;
}

.pagination a:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.pagination .active {
    background: var(--primary);
    border-color: var(--primary);
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }
}
