:root {
    --gold: #D4AF37;
    --dark-gold: #AA8A2E;
    --black: #121212;
    --dark-gray: #1E1E1E;
    --light-gray: #2C2C2C;
    --white: #FFFFFF;
    --text-muted: #A0A0A0;
}

body {
    background-color: var(--black);
    color: var(--white);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
}

.container {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
}

.card {
    background-color: var(--dark-gray);
    border: 1px solid var(--gold);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

h1,
h2,
h3 {
    color: var(--gold);
    text-align: center;
}

.btn-gold {
    background-color: var(--gold);
    color: var(--black);
    border: none;
    padding: 12px 20px;
    border-radius: 5px;
    font-weight: bold;
    width: 100%;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn-gold:hover {
    background-color: var(--dark-gold);
}

.form-control {
    background-color: var(--light-gray);
    border: 1px solid var(--gold);
    color: var(--white);
    padding: 10px;
    border-radius: 5px;
    width: 100%;
    margin-bottom: 15px;
    box-sizing: border-box;
}

.mesa {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    margin: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: transform 0.2s;
}

.mesa:hover {
    transform: scale(1.1);
}

.mesa-livre {
    background-color: #28a745;
    color: white;
}

.mesa-reservada {
    background-color: #ffc107;
    color: black;
}

.mesa-vendida {
    background-color: #dc3545;
    color: white;
}

.mapa-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 10px;
    background-color: var(--light-gray);
    border-radius: 10px;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
}

.modal-content {
    background-color: var(--dark-gray);
    margin: 15% auto;
    padding: 20px;
    border: 1px solid var(--gold);
    width: 80%;
    max-width: 400px;
    border-radius: 10px;
}

/* Toast Notification System */
#toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
}

.toast {
    background-color: var(--dark-gray);
    color: var(--white);
    border-left: 5px solid var(--gold);
    padding: 15px 25px;
    margin-bottom: 10px;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-width: 250px;
    animation: slideIn 0.3s ease-out;
    opacity: 1;
    transition: opacity 0.5s ease-out;
}

.toast.success {
    border-left-color: #28a745;
}

.toast.error {
    border-left-color: #dc3545;
}

.toast.warning {
    border-left-color: #ffc107;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.toast-close {
    margin-left: 15px;
    cursor: pointer;
    color: var(--gold);
    font-weight: bold;
}