* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #F0F9FF;
    color: #334155;
}

.admin-header {
    background: linear-gradient(135deg, #0A1828 0%, #1B4965 100%);
    color: white;
    padding: 1rem 2rem;
    box-shadow: 0 4px 16px rgba(10, 24, 40, 0.1);
}

.admin-header-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.admin-header h2 {
    color: white;
    font-size: 1.5rem;
}

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

.admin-nav a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: background 0.2s;
}

.admin-nav a:hover {
    background: rgba(255, 255, 255, 0.1);
}

.admin-nav a.logout {
    color: #FF6B35;
}

.admin-container {
    max-width: 1400px;
    margin: 2rem auto;
    padding: 0 2rem;
}

h1 {
    color: #0A1828;
    margin-bottom: 2rem;
    font-size: 2rem;
}

h2 {
    color: #0A1828;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.section {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 8px rgba(10, 24, 40, 0.06);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(10, 24, 40, 0.06);
}

.stat-card h3 {
    color: #64748B;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: #FF6B35;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #334155;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #E0F2FE;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #FF6B35;
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.btn-primary {
    background: linear-gradient(135deg, #FF6B35 0%, #FF8C61 100%);
    color: white;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(255, 107, 53, 0.3);
}

.btn-small {
    padding: 0.5rem 1rem;
    background: #00B4D8;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-size: 0.875rem;
    display: inline-block;
}

.btn-danger {
    background: #ef4444;
}

.btn-secondary {
    background: #64748B;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.2s ease;
}

.btn-secondary:hover {
    background: #475569;
    transform: translateY(-2px);
}

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

.data-table th,
.data-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #E0F2FE;
}

.data-table th {
    background: #F0F9FF;
    font-weight: 600;
    color: #0A1828;
}

.message {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.message.success {
    background: #D1FAE5;
    color: #065F46;
}

.message.error {
    background: #FEE2E2;
    color: #991B1B;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(10, 24, 40, 0.06);
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.gallery-item-info {
    padding: 1rem;
}

.gallery-actions {
    margin-top: 0.5rem;
}

.text-small {
    font-size: 0.875rem;
    color: #64748B;
}

