* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f4f4f4;
}

header {
    background-color: #2c3e50;
    color: white;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 1rem;
}

nav ul li a {
    color: white;
    text-decoration: none;
    padding: 0.5rem;
    border-radius: 4px;
    transition: background-color 0.3s;
}

nav ul li a:hover {
    background-color: #34495e;
}

main {
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.stat-card {
    background-color: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    text-align: center;
}

.stat-card h2 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: #7f8c8d;
}

.stat-number {
    font-size: 2rem;
    font-weight: bold;
    color: #2c3e50;
}

.quick-actions {
    background-color: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    margin: 2rem 0;
}

.action-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.btn {
    display: inline-block;
    background-color: #3498db;
    color: white;
    padding: 0.8rem 1.5rem;
    text-decoration: none;
    border-radius: 4px;
    text-align: center;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: #2980b9;
}

footer {
    background-color: #2c3e50;
    color: white;
    text-align: center;
    padding: 1rem;
    margin-top: 2rem;
}

/* Estilos para formulários e tabelas */
.form-container {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

.btn-submit {
    background-color: #27ae60;
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
}

.btn-submit:hover {
    background-color: #219653;
}

.table-container {
    background-color: white;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th, td {
    padding: 0.8rem;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

th {
    background-color: #f4f4f4;
    font-weight: bold;
}

tr:hover {
    background-color: #f9f9f9;
}

.btn-edit {
    background-color: #f39c12;
    color: white;
    padding: 0.4rem 0.8rem;
    text-decoration: none;
    border-radius: 4px;
    margin-right: 0.5rem;
}

.btn-delete {
    background-color: #e74c3c;
    color: white;
    padding: 0.4rem 0.8rem;
    text-decoration: none;
    border-radius: 4px;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}

.modal-content {
    background-color: white;
    margin: 10% auto;
    padding: 2rem;
    border-radius: 8px;
    width: 80%;
    max-width: 600px;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

/* Adicionar ao final do arquivo CSS existente */

.status-badge {
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: bold;
}

.status-active {
    background-color: #d5f4e6;
    color: #27ae60;
}

.status-inactive {
    background-color: #fdebd0;
    color: #f39c12;
}

.status-suspended {
    background-color: #fadbd8;
    color: #e74c3c;
}

.message {
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 4px;
    text-align: center;
}

.message.success {
    background-color: #d5f4e6;
    color: #27ae60;
    border: 1px solid #27ae60;
}

.message.error {
    background-color: #fadbd8;
    color: #e74c3c;
    border: 1px solid #e74c3c;
}

/* Estilos para o menu de usuário */
.user-menu {
    position: relative;
}

.user-menu .dropdown {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    background-color: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border-radius: 4px;
    min-width: 150px;
    z-index: 1000;
}

.user-menu:hover .dropdown {
    display: block;
}

.user-menu .dropdown li {
    margin: 0;
}

.user-menu .dropdown a {
    display: block;
    padding: 10px 15px;
    color: #333;
    text-decoration: none;
}

.user-menu .dropdown a:hover {
    background-color: #f4f4f4;
}

/* Mensagens de sucesso e erro */
.message.success {
    background-color: #d4edda;
    color: #155724;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
    border-left: 4px solid #28a745;
}

.message.error {
    background-color: #f8d7da;
    color: #721c24;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
    border-left: 4px solid #dc3545;
}

/* Informações do perfil */
.profile-info {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    margin-top: 20px;
}

.profile-info h2 {
    margin-top: 0;
    color: #2c3e50;
}

.profile-info p {
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.profile-info p:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

/* Estilos para o menu dropdown */
.menu-dropdown {
    position: relative;
}

.menu-dropdown .dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border-radius: 4px;
    min-width: 200px;
    z-index: 1000;
    padding: 0;
}

.menu-dropdown:hover .dropdown-menu {
    display: block;
}

.menu-dropdown .dropdown-menu li {
    margin: 0;
}

.menu-dropdown .dropdown-menu a {
    display: block;
    padding: 12px 15px;
    color: #333;
    text-decoration: none;
    border-bottom: 1px solid #f0f0f0;
}

.menu-dropdown .dropdown-menu a:hover {
    background-color: #f8f9fa;
}

.menu-dropdown .dropdown-menu li:last-child a {
    border-bottom: none;
}

/* Estilos para o menu de usuário (já existente, mas atualizado) */
.user-menu {
    position: relative;
}

.user-menu .dropdown-menu {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    background-color: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border-radius: 4px;
    min-width: 150px;
    z-index: 1000;
    padding: 0;
}

.user-menu:hover .dropdown-menu {
    display: block;
}

.user-menu .dropdown-menu li {
    margin: 0;
}

.user-menu .dropdown-menu a {
    display: block;
    padding: 12px 15px;
    color: #333;
    text-decoration: none;
    border-bottom: 1px solid #f0f0f0;
}

.user-menu .dropdown-menu a:hover {
    background-color: #f8f9fa;
}

.user-menu .dropdown-menu li:last-child a {
    border-bottom: none;
}

/* Estilos responsivos para o header */
@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
        gap: 0;
    }
    
    .menu-dropdown .dropdown-menu,
    .user-menu .dropdown-menu {
        position: static;
        box-shadow: none;
        margin-left: 20px;
    }
    
    .menu-dropdown:hover .dropdown-menu,
    .user-menu:hover .dropdown-menu {
        display: block;
        position: static;
    }
}

.reservation-status {
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
}

.reservation-confirmed {
    background-color: #d4edda;
    color: #155724;
}

.reservation-pending {
    background-color: #fff3cd;
    color: #856404;
}

.reservation-cancelled {
    background-color: #f8d7da;
    color: #721c24;
}

.message.info {
    background-color: #d1ecf1;
    color: #0c5460;
    padding: 20px;
    border-radius: 5px;
    text-align: center;
    margin: 20px 0;
}

