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

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}

.gold {
    color: #ffaa00;
}

/* Navigation */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
}

.logo span {
    color: #ffaa00;
}

.nav-links a {
    margin-left: 2rem;
    text-decoration: none;
    color: #333;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #ffaa00;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 6rem 1.5rem 4rem;
    overflow: hidden;
}

/* ── Slideshow layers ── */
.hero-slides {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.2s ease;
    /* Ken Burns zoom */
    animation: kenburns 10s ease-in-out infinite alternate;
}

.hero-slide.active {
    opacity: 1;
}

@keyframes kenburns {
    from { transform: scale(1);    }
    to   { transform: scale(1.08); }
}

/* Gradient overlay on top of slides */
.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, rgba(0,0,0,0.62) 0%, rgba(0,0,0,0.32) 55%, rgba(255,140,0,0.20) 100%);
    z-index: 1;
    pointer-events: none;
}

/* ── Arrows ── */
.hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    background: rgba(255,255,255,0.12);
    border: 1.5px solid rgba(255,255,255,0.3);
    color: white;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    font-size: 1rem;
    cursor: pointer;
    backdrop-filter: blur(6px);
    transition: background 0.25s, transform 0.25s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-arrow:hover {
    background: rgba(255,170,0,0.55);
    border-color: #ffaa00;
    transform: translateY(-50%) scale(1.1);
}

.hero-arrow-prev { left: 1.5rem; }
.hero-arrow-next { right: 1.5rem; }

/* ── Dots ── */
.hero-dots {
    position: absolute;
    bottom: 5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    gap: 0.5rem;
}

.hero-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    padding: 0;
    transition: background 0.3s, transform 0.3s;
}

.hero-dot.active {
    background: #ffaa00;
    transform: scale(1.4);
}

.hero-dot:hover { background: rgba(255,255,255,0.8); }

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 780px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255,170,0,0.18);
    border: 1px solid rgba(255,170,0,0.55);
    color: #ffcc55;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 0.4rem 1.1rem;
    border-radius: 50px;
    margin-bottom: 1.4rem;
    backdrop-filter: blur(4px);
}

.hero h1 {
    font-size: 3.6rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.2rem;
    text-shadow: 0 2px 20px rgba(0,0,0,0.4);
    letter-spacing: -0.01em;
}

.hero p {
    font-size: 1.15rem;
    line-height: 1.7;
    margin-bottom: 2.2rem;
    color: rgba(255,255,255,0.85);
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.hero-btn-primary {
    background: #ffaa00;
    color: #1a1a1a;
    padding: 0.85rem 2rem;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 20px rgba(255,170,0,0.45);
    text-decoration: none;
    transition: all 0.3s;
}

.hero-btn-primary:hover {
    background: #e69900;
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(255,170,0,0.55);
}

.hero-btn-secondary {
    background: rgba(255,255,255,0.12);
    color: white;
    padding: 0.85rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    border: 1.5px solid rgba(255,255,255,0.4);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    backdrop-filter: blur(6px);
    text-decoration: none;
    transition: all 0.3s;
}

.hero-btn-secondary:hover {
    background: rgba(255,255,255,0.22);
    border-color: rgba(255,255,255,0.7);
    transform: translateY(-2px);
}

.hero-stats {
    display: inline-flex;
    align-items: center;
    gap: 1.5rem;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    padding: 0.9rem 2rem;
    border-radius: 50px;
}

.hero-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number {
    font-size: 1.6rem;
    font-weight: 800;
    color: #ffaa00;
    line-height: 1;
}

.stat-label {
    font-size: 0.72rem;
    color: rgba(255,255,255,0.7);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-top: 0.2rem;
}

.hero-stat-divider {
    width: 1px;
    height: 36px;
    background: rgba(255,255,255,0.25);
}

.hero-scroll-hint {
    position: absolute;
    z-index: 2;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.75rem;
    color: rgba(255,255,255,0.5);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    animation: bounce 2s infinite;
    z-index: 1;
}

.hero-scroll-hint i { font-size: 0.9rem; }

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50%       { transform: translateX(-50%) translateY(6px); }
}

/* Buttons */
.btn {
    display: inline-block;
    background: #ffaa00;
    color: #333;
    padding: 0.8rem 2rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
}

.btn:hover {
    background: #e69900;
    transform: scale(1.05);
}

/* About Section */
.about {
    text-align: center;
    padding: 4rem 1rem;
    max-width: 800px;
    margin: 0 auto;
}

.about h2 {
    margin-bottom: 1rem;
    font-size: 2rem;
}

/* Popular Destinations */
.popular {
    background: #f5f5f5;
    padding: 4rem 1rem;
    text-align: center;
}

.popular h2 {
    margin-bottom: 2rem;
    font-size: 2rem;
}

.destination-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Destination Cards */
.destination-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.destination-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(255,170,0,0.3);
}

.card-image {
    height: 200px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-content {
    padding: 1.5rem;
    text-align: left;
}

.card-content h3 {
    color: #ffaa00;
    margin-bottom: 0.5rem;
}

.destination-meta {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.destination-meta i {
    color: #ffaa00;
    width: 20px;
}

/* Destinations Grid */
.destinations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}

/* Page Header */
.page-header {
    background: #ffaa00;
    color: white;
    text-align: center;
    padding: 3rem 1rem;
}

.page-header h1 {
    font-size: 2.5rem;
}

.page-header .gold {
    color: #333;
}

/* Contact Page */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 1000px;
    margin: 3rem auto;
    padding: 0 1rem;
}

.contact-info, .contact-form {
    background: #f9f9f9;
    padding: 2rem;
    border-radius: 10px;
}

.contact-info h3, .contact-form h3 {
    margin-bottom: 1.5rem;
    color: #ffaa00;
}

.contact-info p {
    margin-bottom: 1rem;
}

.contact-info i {
    color: #ffaa00;
    width: 25px;
}

.coming-soon {
    background: #fff3cd;
    padding: 1rem;
    border-radius: 5px;
    margin-top: 2rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.8rem;
    margin-bottom: 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.note {
    font-size: 0.9rem;
    color: #666;
    margin-top: 1rem;
}

/* Footer */
footer {
    background: #333;
    color: white;
    text-align: center;
    padding: 1.5rem;
    margin-top: 2rem;
}

footer i {
    color: #ffaa00;
}

/* Loading */
.loading {
    text-align: center;
    padding: 2rem;
    color: #666;
}

/* Responsive */
@media (max-width: 768px) {
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .nav-links a {
        margin-left: 1rem;
    }
}

@media (max-width: 480px) {
    nav {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-links a {
        margin: 0 0.5rem;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }

    .hero-stats {
        gap: 1rem;
        padding: 0.75rem 1.2rem;
    }

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

    .hero-actions { flex-direction: column; align-items: center; }

    .hero-btn-primary, .hero-btn-secondary { width: 100%; max-width: 280px; justify-content: center; }
}
/* Category Titles */
.category-title {
    grid-column: 1 / -1;
    font-size: 2rem;
    font-weight: bold;
    color: #ffaa00;
    margin: 2rem 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid #ffaa00;
}

.category-title i {
    margin-right: 1rem;
    color: #333;
}

/* Importance badge */
.importance {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #666;
    background: #f5f5f5;
    padding: 0.5rem;
    border-radius: 5px;
}

.importance i {
    color: #ffaa00;
    margin-right: 0.5rem;
}
.count {
    font-size: 1rem;
    color: #666;
    font-weight: normal;
    margin-left: 1rem;
    background: #f0f0f0;
    padding: 0.2rem 0.8rem;
    border-radius: 20px;
}

.destinations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem;
}
.category-title {
    grid-column: 1 / -1;
    font-size: 2rem;
    font-weight: bold;
    color: #ffaa00;
    margin: 2rem 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid #ffaa00;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.category-title i {
    color: #333;
}

.importance {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #666;
    background: #f5f5f5;
    padding: 0.5rem;
    border-radius: 5px;
    border-left: 3px solid #ffaa00;
}

.importance i {
    color: #ffaa00;
    margin-right: 0.5rem;
}
/* ===== Auth Nav Items ===== */
#authNav {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-user {
    color: #ffaa00;
    font-weight: bold;
    margin-left: 1.5rem;
}

.nav-user i { margin-right: 0.3rem; }

.nav-logout {
    margin-left: 0.5rem;
    color: #e05252 !important;
    font-size: 0.9rem;
    text-decoration: none;
}

.nav-auth-link {
    margin-left: 1.5rem;
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}

.nav-auth-link:hover { color: #ffaa00; }

.nav-auth-btn {
    margin-left: 0.8rem;
    background: #ffaa00;
    color: #333 !important;
    padding: 0.4rem 1rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9rem;
    transition: background 0.3s;
}

.nav-auth-btn:hover { background: #e69900; }

/* ===== View Details Button on Cards ===== */
.btn-details {
    display: block;
    text-align: center;
    margin-top: 1rem;
    background: #ffaa00;
    color: #333 !important;
    padding: 0.6rem 1rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.btn-details:hover {
    background: #e69900;
    transform: scale(1.02);
}

.btn-details i { margin-right: 0.4rem; }

/* ===== Auth Pages ===== */
.auth-page {
    min-height: calc(100vh - 140px);
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #fff8e1 0%, #f5f5f5 100%);
    padding: 2rem 1rem;
}

.auth-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
    padding: 2.5rem 2rem;
    width: 100%;
    max-width: 420px;
}

.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-icon {
    font-size: 3rem;
    color: #ffaa00;
    margin-bottom: 0.5rem;
}

.auth-header h2 {
    font-size: 1.8rem;
    margin-bottom: 0.3rem;
    color: #333;
}

.auth-header p { color: #888; font-size: 0.95rem; }

.auth-form .form-group { margin-bottom: 1.2rem; }

.auth-form label {
    display: block;
    margin-bottom: 0.4rem;
    font-weight: bold;
    color: #555;
    font-size: 0.9rem;
}

.auth-form label i {
    color: #ffaa00;
    margin-right: 0.4rem;
    width: 14px;
}

.auth-form input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s;
    outline: none;
}

.auth-form input:focus { border-color: #ffaa00; }

.password-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.password-wrap input { padding-right: 3rem; }

.toggle-password {
    position: absolute;
    right: 0.75rem;
    background: none;
    border: none;
    color: #aaa;
    cursor: pointer;
    font-size: 1rem;
    padding: 0;
    transition: color 0.2s;
}

.toggle-password:hover { color: #ffaa00; }

.auth-btn {
    width: 100%;
    padding: 0.85rem;
    font-size: 1rem;
    border-radius: 8px;
    margin-top: 0.5rem;
    cursor: pointer;
    border: none;
}

.auth-error {
    background: #fde8e8;
    color: #c0392b;
    border: 1px solid #f5c6cb;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.auth-success {
    background: #e8f8e8;
    color: #27ae60;
    border: 1px solid #c3e6cb;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.auth-footer {
    text-align: center;
    margin-top: 1.5rem;
    color: #888;
    font-size: 0.95rem;
}

.auth-footer a {
    color: #ffaa00;
    font-weight: bold;
    text-decoration: none;
}

.auth-footer a:hover { text-decoration: underline; }

/* ===== Place Detail Page ===== */
.detail-loading, .detail-error {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
    gap: 1rem;
    color: #666;
}

.detail-error i { font-size: 3rem; color: #ffaa00; }

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f0f0f0;
    border-top-color: #ffaa00;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

.detail-hero {
    height: 420px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: flex-end;
}

.detail-hero-overlay {
    width: 100%;
    padding: 2rem 5%;
    background: linear-gradient(transparent, rgba(0,0,0,0.75));
}

.detail-category-badge {
    display: inline-block;
    background: #ffaa00;
    color: #333;
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.detail-hero-text h1 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.detail-region { color: #ddd; font-size: 1.1rem; }
.detail-region i { color: #ffaa00; margin-right: 0.4rem; }

.detail-container {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 2rem;
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1.5rem;
}

.quick-facts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
    background: #fff8e1;
    border: 2px solid #ffaa00;
    border-radius: 12px;
    padding: 1.2rem;
    margin-bottom: 2rem;
}

.fact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.fact-item > i {
    color: #ffaa00;
    font-size: 1.4rem;
    margin-top: 0.15rem;
    flex-shrink: 0;
}

.fact-label {
    display: block;
    font-size: 0.75rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.15rem;
}

.fact-value {
    display: block;
    font-weight: bold;
    color: #333;
    font-size: 0.95rem;
}

.detail-section { margin-bottom: 2rem; }

.detail-section h2 {
    font-size: 1.4rem;
    color: #333;
    margin-bottom: 1rem;
    border-bottom: 2px solid #ffaa00;
    padding-bottom: 0.5rem;
}

.detail-section h2 i { color: #ffaa00; margin-right: 0.5rem; }

.detail-short-desc {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 1rem;
    font-style: italic;
}

.detail-long-desc {
    color: #444;
    line-height: 1.8;
    font-size: 1rem;
}

.highlights-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 0.6rem;
}

.highlights-list li {
    background: #f9f9f9;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    border-left: 3px solid #ffaa00;
    font-size: 0.95rem;
    color: #444;
}

.highlights-list li i { color: #27ae60; margin-right: 0.4rem; }

.detail-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.btn-outline {
    background: white;
    color: #ffaa00;
    border: 2px solid #ffaa00;
    padding: 0.7rem 1.5rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.btn-outline:hover { background: #ffaa00; color: #333; }

/* Map Card */
.map-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    overflow: hidden;
    position: sticky;
    top: 1rem;
}

.map-card h3 {
    padding: 1rem 1.2rem;
    color: #ffaa00;
    font-size: 1.1rem;
    border-bottom: 1px solid #f0f0f0;
}

.map-card h3 i { margin-right: 0.5rem; }

#map {
    height: 320px;
    width: 100%;
}

.map-coords {
    padding: 0.6rem 1.2rem;
    font-size: 0.8rem;
    color: #888;
    background: #f9f9f9;
    border-top: 1px solid #f0f0f0;
    font-family: monospace;
}

/* Responsive: detail page */
@media (max-width: 900px) {
    .detail-container { grid-template-columns: 1fr; }
    .detail-sidebar { order: -1; }
    .map-card { position: static; }
    #map { height: 260px; }
    .detail-hero { height: 280px; }
    .detail-hero-text h1 { font-size: 1.8rem; }
}

@media (max-width: 600px) {
    .auth-card { padding: 2rem 1.2rem; }
    .quick-facts { grid-template-columns: 1fr 1fr; }
}

/* ===== Admin Nav Link ===== */
.nav-admin-link {
    margin-left: 0.8rem;
    color: #ffaa00 !important;
    font-weight: bold;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}
.nav-admin-link:hover { color: #e69900 !important; }

/* ===== Admin Page ===== */
.admin-header {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: white;
    padding: 2.5rem 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.admin-header h1 {
    font-size: 2rem;
    margin-bottom: 0.3rem;
}

.admin-header h1 i { color: #ffaa00; margin-right: 0.5rem; }
.admin-header p { color: rgba(255,255,255,0.65); margin: 0; }

.admin-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 1300px;
    margin: 2rem auto;
    padding: 0 2rem;
}

/* ── Form card ── */
.admin-form-card,
.admin-list-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    padding: 2rem;
}

.admin-form-card h2,
.admin-list-card h2 {
    font-size: 1.25rem;
    color: #333;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #ffaa00;
}

.admin-form-card h2 i,
.admin-list-card h2 i { color: #ffaa00; margin-right: 0.5rem; }

.add-place-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.add-place-form .form-group {
    margin-bottom: 1rem;
}

.add-place-form label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: #555;
    margin-bottom: 0.35rem;
}

.label-hint {
    font-weight: normal;
    color: #999;
    font-size: 0.78rem;
}

.add-place-form input,
.add-place-form select,
.add-place-form textarea {
    width: 100%;
    padding: 0.65rem 0.9rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 0.95rem;
    transition: border-color 0.3s;
    outline: none;
    font-family: inherit;
}

.add-place-form input:focus,
.add-place-form select:focus,
.add-place-form textarea:focus { border-color: #ffaa00; }

.admin-submit-btn {
    width: 100%;
    margin-top: 0.5rem;
    padding: 0.85rem;
    font-size: 1rem;
    border-radius: 8px;
    border: none;
    cursor: pointer;
}

/* ── Destination list ── */
.admin-list-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.admin-count {
    background: #ffaa00;
    color: #333;
    font-weight: bold;
    font-size: 0.8rem;
    padding: 0.25rem 0.8rem;
    border-radius: 20px;
}

.admin-search {
    position: relative;
    margin-bottom: 1rem;
}

.admin-search i {
    position: absolute;
    left: 0.85rem;
    top: 50%;
    transform: translateY(-50%);
    color: #aaa;
}

.admin-search input {
    width: 100%;
    padding: 0.6rem 0.9rem 0.6rem 2.4rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.3s;
}

.admin-search input:focus { border-color: #ffaa00; }

.admin-dest-list {
    max-height: 560px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.admin-dest-item {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.75rem;
    border: 1px solid #f0f0f0;
    border-radius: 10px;
    transition: box-shadow 0.2s;
}

.admin-dest-item:hover { box-shadow: 0 2px 10px rgba(0,0,0,0.08); }

.admin-dest-item img {
    width: 58px;
    height: 48px;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
}

.admin-dest-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.admin-dest-info strong {
    font-size: 0.95rem;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.admin-dest-info small { color: #888; font-size: 0.78rem; }

.admin-cat-badge {
    font-size: 0.7rem;
    font-weight: bold;
    padding: 0.15rem 0.5rem;
    border-radius: 20px;
    width: fit-content;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.admin-cat-historical { background: #fff3cd; color: #856404; }
.admin-cat-natural    { background: #d1f5d3; color: #1a6b24; }
.admin-cat-cultural   { background: #dde8ff; color: #1a3a8a; }

.admin-dest-actions {
    display: flex;
    gap: 0.4rem;
    flex-shrink: 0;
}

.admin-btn-view,
.admin-btn-delete {
    width: 34px;
    height: 34px;
    border-radius: 7px;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    transition: all 0.2s;
    text-decoration: none;
}

.admin-btn-view {
    background: #e8f4fd;
    color: #1a6fb5;
}
.admin-btn-view:hover { background: #1a6fb5; color: white; }

.admin-btn-delete {
    background: #fde8e8;
    color: #c0392b;
}
.admin-btn-delete:hover { background: #c0392b; color: white; }

.admin-empty,
.admin-error {
    text-align: center;
    color: #888;
    padding: 2rem;
    font-size: 0.95rem;
}

.admin-error { color: #c0392b; }

/* Responsive admin */
@media (max-width: 900px) {
    .admin-container { grid-template-columns: 1fr; }
    .add-place-form .form-row { grid-template-columns: 1fr; }
    .admin-header { flex-direction: column; align-items: flex-start; }
}
