.btn {
    padding: 8px 16px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-edit { background: linear-gradient(135deg, #007bff, #0056b3); color: white; }
.btn-cancel { background: linear-gradient(135deg, #dc3545, #c82333); color: white; }
.btn-delete { background: linear-gradient(135deg, #a02020, #801010); color: white; }
.btn-confirm { background: linear-gradient(135deg, #28a745, #218838); color: white; }
.btn-secondary { background: linear-gradient(135deg, #6c757d, #5a6268); color: white; }


.edit-form {
    display: none;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    padding: 20px;
    border-radius: 12px;
    margin-top: 16px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.edit-form.active {
    display: block;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    color: #495057;
    font-size: 0.9rem;
}

.form-group select,
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    font-size: 0.9rem;
    transition: border-color 0.3s ease;
    background: white;
}

.form-group select:focus,
.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.no-bookings {
    text-align: center;
    padding: 60px 20px;
    color: #666;
}

.no-bookings h3 {
    margin: 0 0 12px 0;
    color: #495057;
    font-size: 1.5rem;
}

.no-bookings p {
    margin: 0;
    opacity: 0.8;
}

/* Admin Tabs */
.admin-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
    border-bottom: 2px solid rgba(0, 0, 0, 0.1);
}

.tab-button {
    padding: 12px 24px;
    cursor: pointer;
    border: none;
    background-color: transparent;
    font-size: 1rem;
    font-weight: 600;
    color: #666;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
    margin-bottom: -2px; /* Aligns with the container's border */
}

.tab-button:hover {
    color: #333;
    background-color: rgba(0, 0, 0, 0.03);
}

.tab-button.active {
    color: #667eea;
    border-bottom-color: #667eea;
}

.tab-content {
    display: none;
    animation: fadeIn 0.5s;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Make message button smaller in table view */
.bookings-table .btn-sm {
    padding: 6px 12px;
    font-size: 0.75rem;
}

/* Admin Responsiveness */
@media (max-width: 992px) {
    /* Hide table on tablet/mobile, show cards */
    .bookings-table {
        display: none;
    }

    .mobile-cards {
        display: block;
    }
}


@media (max-width: 768px) {
    .admin-container {
        padding: 12px;
    }

    .admin-header {
        padding: 20px 16px;
        margin-bottom: 20px;
    }

    .stats-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        margin-bottom: 20px;
    }

    .stat-card {
        padding: 16px 12px;
    }

    .booking-info {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .action-buttons {
        flex-direction: column;
        gap: 8px;
        align-items: stretch;
    }

    .btn {
        justify-content: center;
        padding: 12px 16px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .stats-cards {
        grid-template-columns: 1fr;
    }

    .booking-card {
        padding: 16px;
    }

    .booking-card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}