
/* Admin Dashboard Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: #f5f5f7;
    color: #1d1d1f;
}

.admin-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Navigation */
.admin-nav {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-brand h2 {
    font-size: 1.5rem;
    color: #1d1d1f;
    margin-bottom: 0.25rem;
}

.nav-brand span {
    font-size: 0.9rem;
    color: #6e6e73;
}

.nav-links {
    display: flex;
    gap: 1.5rem;
}

.nav-link {
    color: #1d1d1f;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 10px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.nav-link:hover,
.nav-link.active {
    background: #0071e3;
    color: white;
}

.nav-link.logout {
    color: #ff3b30;
}

.nav-link.logout:hover {
    background: #ff3b30;
    color: white;
}

/* Main Content */
.admin-main {
    flex: 1;
    padding: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

.page-header,
.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.page-header h1,
.dashboard-header h1 {
    font-size: 2.5rem;
    color: #1d1d1f;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 15px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: #0071e3;
    color: white;
}

.btn-primary:hover {
    background: #0056b3;
    transform: translateY(-2px);
}

.btn-secondary {
    background: #6e6e73;
    color: white;
}

.btn-secondary:hover {
    background: #515154;
}

.btn-danger {
    background: #ff3b30;
    color: white;
}

.btn-danger:hover {
    background: #d70015;
}

.btn-small {
    padding: 8px 16px;
    font-size: 0.9rem;
}

/* Alerts */
.alert {
    padding: 1rem;
    border-radius: 15px;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.stat-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: #0071e3;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    color: #6e6e73;
    font-weight: 500;
}

/* Quick Actions */
.quick-actions {
    margin-bottom: 3rem;
}

.quick-actions h2 {
    margin-bottom: 1.5rem;
    color: #1d1d1f;
}

.action-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Tables */
.table-container {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

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

th {
    background: #f5f5f7;
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    color: #1d1d1f;
    border-bottom: 1px solid #e5e5e7;
}

td {
    padding: 1rem;
    border-bottom: 1px solid #f0f0f0;
    color: #424245;
}

tr:hover {
    background: rgba(0, 113, 227, 0.05);
}

/* Forms */
.tour-form {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #1d1d1f;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #d2d2d7;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #0071e3;
}

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

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-start;
}

/* Empty States */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.empty-state h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #1d1d1f;
}

.empty-state p {
    color: #6e6e73;
    margin-bottom: 2rem;
}

/* Recent Bookings Section */
.recent-bookings {
    margin-top: 3rem;
}

.recent-bookings h2 {
    margin-bottom: 1.5rem;
    color: #1d1d1f;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .admin-nav {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    .page-header,
    .dashboard-header {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .action-buttons {
        flex-direction: column;
    }

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

    table {
        min-width: 800px;
    }
}

@media (max-width: 480px) {
    .admin-main {
        padding: 1rem;
    }

    .page-header h1,
    .dashboard-header h1 {
        font-size: 2rem;
    }

    .stat-number {
        font-size: 2rem;
    }
}

/* Payment Status Styles */
.payment-status-select {
    padding: 6px 12px;
    border-radius: 8px;
    border: 1px solid #d2d2d7;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.payment-status-select.pending {
    background: #ffe5cc;
    color: #ff9500;
    border-color: #ff9500;
}

.payment-status-select.paid {
    background: #d1f4e0;
    color: #34c759;
    border-color: #34c759;
}

.payment-status-select:hover {
    opacity: 0.8;
}
