/* Modern Design System - Global Styles */
:root {
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --travel-gradient: linear-gradient(135deg, #667eea 0%, #4fa9e1 100%);
    --food-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --bg-light: #f9fafb;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.15);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
}

html {
    font-size: 14px;
    scroll-behavior: smooth;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-primary);
    margin-bottom: 60px;
    background-color: #ffffff;
}

/* Modern Page Container */
.page-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 1rem;
}

.page-header {
    text-align: center;
    margin-bottom: 3rem;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 1rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
}

/* Modern Cards */
.card-modern {
    background: white;
    border: none;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    overflow: hidden;
}

.card-modern:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.card-modern .card-header {
    background: var(--bg-light);
    border: none;
    padding: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
}

.card-modern .card-body {
    padding: 1.5rem;
}

/* Modern Buttons */
.btn-primary-modern,
.btn-primary {
    background: var(--primary-gradient);
    border: none;
    border-radius: 50px;
    padding: 0.75rem 2rem;
    font-weight: 600;
    color: white;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.btn-primary-modern:hover,
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
    color: white;
}

.btn-secondary-modern,
.btn-secondary {
    background: var(--bg-light);
    border: none;
    border-radius: 50px;
    padding: 0.75rem 2rem;
    font-weight: 600;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.btn-secondary-modern:hover,
.btn-secondary:hover {
    background: #e5e7eb;
    color: var(--text-primary);
}

.btn-success-modern,
.btn-success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border: none;
    border-radius: 50px;
    padding: 0.75rem 2rem;
    font-weight: 600;
    color: white;
    transition: all 0.3s ease;
}

.btn-danger-modern,
.btn-danger {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    border: none;
    border-radius: 50px;
    padding: 0.75rem 2rem;
    font-weight: 600;
    color: white;
    transition: all 0.3s ease;
}

.btn-warning-modern,
.btn-warning {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    border: none;
    border-radius: 50px;
    padding: 0.75rem 2rem;
    font-weight: 600;
    color: white;
    transition: all 0.3s ease;
}

.btn-info-modern,
.btn-info {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    border: none;
    border-radius: 50px;
    padding: 0.75rem 2rem;
    font-weight: 600;
    color: white;
    transition: all 0.3s ease;
}

/* Modern Forms */
.form-control-modern,
.form-control {
    border: 2px solid #e5e7eb;
    border-radius: var(--radius-md);
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.form-control-modern:focus,
.form-control:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    outline: none;
}

.form-label-modern,
.form-label {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.form-select-modern,
.form-select {
    border: 2px solid #e5e7eb;
    border-radius: var(--radius-md);
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.form-select-modern:focus,
.form-select:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    outline: none;
}

/* Modern Tables */
.table-modern,
.table {
    border-collapse: separate;
    border-spacing: 0;
    border-radius: var(--radius-md);
    overflow: hidden;
}

.table-modern thead,
.table thead {
    background: var(--bg-light);
}

.table-modern thead th,
.table thead th {
    font-weight: 600;
    color: var(--text-primary);
    border: none;
    padding: 1rem;
}

.table-modern tbody tr,
.table tbody tr {
    transition: all 0.2s ease;
}

.table-modern tbody tr:hover,
.table tbody tr:hover {
    background: var(--bg-light);
}

.table-modern tbody td,
.table tbody td {
    padding: 1rem;
    border-top: 1px solid #e5e7eb;
}

/* Modern Badges */
.badge-modern {
    padding: 0.375rem 0.875rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.875rem;
}

.badge-primary {
    background: var(--primary-gradient);
    color: white;
}

.badge-success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
}

.badge-danger {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
}

.badge-warning {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
}

.badge-info {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
}

/* Modern Alerts */
.alert-modern {
    border: none;
    border-radius: var(--radius-md);
    padding: 1rem 1.5rem;
    box-shadow: var(--shadow-sm);
}

.alert-success {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    color: #065f46;
}

.alert-danger {
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    color: #991b1b;
}

.alert-warning {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    color: #92400e;
}

.alert-info {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    color: #1e40af;
}

/* Grid Layout */
.grid-container {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

/* Utility Classes */
.text-gradient {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.shadow-modern {
    box-shadow: var(--shadow-md);
}

.shadow-modern-lg {
    box-shadow: var(--shadow-lg);
}

.rounded-modern {
    border-radius: var(--radius-md);
}

.rounded-modern-lg {
    border-radius: var(--radius-lg);
}

/* Focus Styles */
.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus {
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.2);
}

/* Pagination */
.pagination {
    gap: 0.5rem;
}

.page-link {
    border: none;
    border-radius: var(--radius-sm);
    padding: 0.5rem 0.875rem;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.page-link:hover {
    background: var(--bg-light);
    color: #667eea;
}

.page-item.active .page-link {
    background: var(--primary-gradient);
    color: white;
}

/* Responsive */
@media (max-width: 768px) {
    .page-container {
        padding: 2rem 1rem;
    }

    .page-title {
        font-size: 2rem;
    }

    .grid-container {
        grid-template-columns: 1fr;
    }
}

/* Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}
