/* Admin Styles */

.admin-links {
    display: flex;
    gap: 15px;
    align-items: center;
}

.admin-link {
    color: #6B7A36;
    text-decoration: none;
    font-weight: bold;
    padding: 8px 15px;
    border: 2px solid #6B7A36;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.admin-link:hover {
    background: #6B7A36;
    color: white;
}

.logout-btn {
    background: #dc3545 !important;
    color: white !important;
    border: 2px solid #dc3545 !important;
}

.logout-btn:hover {
    background: #c82333 !important;
    border-color: #c82333 !important;
    color: white !important;
}

/* Statistics Section */
.stats-section {
    margin-bottom: 30px;
}

.stats-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.stat-item {
    text-align: center;
    padding: 20px;
    background: linear-gradient(135deg, #8B9A46 0%, #6B7A36 100%);
    border-radius: 10px;
    color: white;
}

.stat-label {
    font-size: 14px;
    opacity: 0.9;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-value {
    font-size: 32px;
    font-weight: bold;
}

/* Filter Section */
.filter-section {
    margin-bottom: 30px;
}

.filter-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.filter-card h2 {
    color: #6B7A36;
    margin-bottom: 20px;
    font-size: 24px;
}

.filter-controls {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    align-items: end;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.filter-group label {
    color: #6B7A36;
    font-weight: bold;
    font-size: 14px;
}

.filter-group input,
.filter-group select {
    padding: 12px;
    border: 2px solid #8B9A46;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.filter-group input:focus,
.filter-group select:focus {
    outline: none;
    border-color: #6B7A36;
    box-shadow: 0 0 0 3px rgba(107, 122, 54, 0.1);
}

.clear-btn {
    padding: 12px 20px;
    background: #6B7A36;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    height: fit-content;
}

.clear-btn:hover {
    background: #5a6830;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(107, 122, 54, 0.4);
}

/* Reservations Section */
.reservations-section {
    margin-bottom: 30px;
}

.reservations-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.reservations-card h2 {
    color: #6B7A36;
    margin-bottom: 20px;
    font-size: 24px;
}

.table-container {
    overflow-x: auto;
}

.reservations-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.reservations-table thead {
    background: #6B7A36;
    color: white;
}

.reservations-table th {
    padding: 15px;
    text-align: left;
    font-weight: bold;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.reservations-table tbody tr {
    border-bottom: 1px solid #e0e0e0;
    transition: background 0.2s ease;
}

.reservations-table tbody tr:hover {
    background: #f0f7e8;
}

.reservations-table td {
    padding: 15px;
    font-size: 14px;
    color: #555;
}

.reservations-table .numbers-cell {
    max-width: 200px;
    word-wrap: break-word;
}

.reservations-table .payment-badge {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
}

.payment-badge.pix {
    background: #6B7A36;
    color: white;
}

.payment-badge.debito {
    background: #4a90e2;
    color: white;
}

.payment-badge.credito {
    background: #7b68ee;
    color: white;
}

.no-reservations {
    text-align: center;
    padding: 40px;
    color: #999;
    font-size: 18px;
}

/* Export Section */
.export-section {
    margin-bottom: 30px;
}

.export-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.export-card h2 {
    color: #6B7A36;
    margin-bottom: 20px;
    font-size: 24px;
}

.export-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.export-btn {
    padding: 12px 25px;
    background: #6B7A36;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.export-btn:hover {
    background: #5a6830;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(107, 122, 54, 0.4);
}

.export-btn.danger {
    background: #dc3545;
}

.export-btn.danger:hover {
    background: #c82333;
}

/* Modal Buttons */
.modal-buttons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.modal-btn.danger {
    background: #dc3545;
}

.modal-btn.danger:hover {
    background: #c82333;
}

/* Responsive */
@media (max-width: 768px) {
    .stats-card {
        grid-template-columns: 1fr;
    }
    
    .filter-controls {
        grid-template-columns: 1fr;
    }
    
    .reservations-table {
        font-size: 12px;
    }
    
    .reservations-table th,
    .reservations-table td {
        padding: 8px;
    }
    
    .export-buttons {
        flex-direction: column;
    }
    
    .export-btn {
        width: 100%;
    }
}




