/* ═══════════════════════════════════════════════════════════════
   EngelsizTarihUygulaması — Admin Panel Styles
   Clean dashboard UI with sidebar navigation
   Responsive design for all screen sizes
   ═══════════════════════════════════════════════════════════════ */

:root {
    --admin-sidebar-width: 260px;
    --admin-primary: #4263eb;
    --admin-primary-dark: #3b5bdb;
    --admin-primary-light: #dbe4ff;
    --admin-bg: #f5f6fa;
    --admin-card: #ffffff;
    --admin-sidebar-bg: #1e2138;
    --admin-sidebar-hover: rgba(255,255,255,0.08);
    --admin-sidebar-active: rgba(66,99,235,0.3);
    --admin-text: #343a40;
    --admin-text-light: #868e96;
    --admin-border: #e9ecef;
    --admin-success: #51cf66;
    --admin-danger: #ff6b6b;
    --admin-warning: #fcc419;
    --admin-radius: 10px;
    --admin-shadow: 0 1px 3px rgba(0,0,0,0.06);
    --admin-transition: 0.2s ease;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 0.9375rem;
    color: var(--admin-text);
    background: var(--admin-bg);
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: var(--admin-primary);
}

/* ── Login Page ────────────────────────────────────────────── */
.login-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 20px;
    background: linear-gradient(135deg, #1e2138 0%, #2d3154 50%, #4263eb 100%);
}

.login-card {
    width: 100%;
    max-width: 420px;
    background: var(--admin-card);
    border-radius: 16px;
    padding: 48px 40px;
    box-shadow: 0 25px 60px rgba(0,0,0,0.3);
}

.login-card .login-logo {
    text-align: center;
    margin-bottom: 32px;
}

.login-card .login-logo .icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--admin-primary), var(--admin-primary-dark));
    border-radius: 14px;
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.login-card .login-logo h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--admin-text);
}

.login-card .login-logo p {
    color: var(--admin-text-light);
    font-size: 0.875rem;
    margin-top: 4px;
}

/* ── Form Styles ───────────────────────────────────────────── */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    font-size: 0.8125rem;
    color: var(--admin-text);
}

.form-control {
    width: 100%;
    padding: 10px 14px;
    border: 1.5px solid var(--admin-border);
    border-radius: 8px;
    font-size: 0.9375rem;
    font-family: inherit;
    color: var(--admin-text);
    background: #fff;
    transition: border-color var(--admin-transition), box-shadow var(--admin-transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--admin-primary);
    box-shadow: 0 0 0 3px rgba(66,99,235,0.15);
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

select.form-control {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23868e96' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
}

.form-hint {
    display: block;
    margin-top: 4px;
    font-size: 0.75rem;
    color: var(--admin-text-light);
}

/* ── Buttons ───────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all var(--admin-transition);
    text-decoration: none;
    line-height: 1.4;
    white-space: nowrap;
}

.btn-primary {
    background: var(--admin-primary);
    color: #fff;
}

.btn-primary:hover {
    background: var(--admin-primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(66,99,235,0.3);
    color: #fff;
}

.btn-success {
    background: #51cf66;
    color: #fff;
}

.btn-success:hover {
    background: #40c057;
    color: #fff;
}

.btn-danger {
    background: #ff6b6b;
    color: #fff;
}

.btn-danger:hover {
    background: #fa5252;
    color: #fff;
}

.btn-secondary {
    background: #e9ecef;
    color: var(--admin-text);
}

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

.btn-sm {
    padding: 6px 14px;
    font-size: 0.8125rem;
}

.btn-block {
    width: 100%;
}

.btn-group {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

/* ── Admin Layout ──────────────────────────────────────────── */
.admin-layout {
    display: flex;
    min-height: 100vh;
}

/* Sidebar */
.admin-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: var(--admin-sidebar-width);
    height: 100vh;
    background: var(--admin-sidebar-bg);
    color: #fff;
    overflow-y: auto;
    z-index: 100;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
}

.sidebar-header {
    padding: 24px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.sidebar-header .sidebar-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    text-decoration: none;
}

.sidebar-header .sidebar-logo .icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--admin-primary);
    border-radius: 8px;
    font-size: 1rem;
    flex-shrink: 0;
}

.sidebar-header .sidebar-logo span {
    font-weight: 700;
    font-size: 1rem;
}

.sidebar-nav {
    flex: 1;
    padding: 16px 12px;
}

.sidebar-nav .nav-label {
    display: block;
    padding: 8px 12px 6px;
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255,255,255,0.35);
    margin-top: 8px;
}

.sidebar-nav .nav-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 8px;
    color: rgba(255,255,255,0.65);
    font-size: 0.875rem;
    font-weight: 500;
    transition: all var(--admin-transition);
    margin-bottom: 2px;
}

.sidebar-nav .nav-item:hover {
    background: var(--admin-sidebar-hover);
    color: #fff;
}

.sidebar-nav .nav-item.active {
    background: var(--admin-sidebar-active);
    color: #fff;
}

.sidebar-nav .nav-item i {
    width: 20px;
    text-align: center;
    font-size: 0.9375rem;
}

.sidebar-footer {
    padding: 16px 20px;
    border-top: 1px solid rgba(255,255,255,0.06);
}

.sidebar-footer .nav-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 8px;
    color: rgba(255,255,255,0.5);
    font-size: 0.875rem;
    font-weight: 500;
    transition: all var(--admin-transition);
}

.sidebar-footer .nav-item:hover {
    background: rgba(255,107,107,0.15);
    color: #ff6b6b;
}

/* Mobile sidebar toggle */
.sidebar-toggle {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--admin-primary);
    color: #fff;
    border: none;
    cursor: pointer;
    z-index: 200;
    font-size: 1.25rem;
    box-shadow: 0 4px 12px rgba(66,99,235,0.4);
    transition: all 0.2s ease;
    align-items: center;
    justify-content: center;
}

.sidebar-toggle:hover {
    transform: scale(1.1);
}

.sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 90;
}

/* Main Content */
.admin-main {
    margin-left: var(--admin-sidebar-width);
    flex: 1;
    min-height: 100vh;
    transition: margin-left 0.3s ease;
}

.admin-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
    padding: 0 32px;
    background: var(--admin-card);
    border-bottom: 1px solid var(--admin-border);
}

.admin-topbar h2 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--admin-text);
}

.admin-topbar .admin-user {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    color: var(--admin-text-light);
}

.admin-topbar .admin-user .avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--admin-primary-light);
    color: var(--admin-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.75rem;
}

.admin-content {
    padding: 32px;
}

/* ── Dashboard Stats ───────────────────────────────────────── */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 32px;
}

.stat-card {
    background: var(--admin-card);
    border-radius: var(--admin-radius);
    padding: 24px;
    border: 1px solid var(--admin-border);
    display: flex;
    align-items: center;
    gap: 16px;
    transition: all var(--admin-transition);
}

.stat-card:hover {
    box-shadow: var(--admin-shadow);
    transform: translateY(-2px);
}

.stat-card .stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.stat-card .stat-icon.blue    { background: #dbe4ff; color: #4263eb; }
.stat-card .stat-icon.green   { background: #d3f9d8; color: #40c057; }
.stat-card .stat-icon.orange  { background: #fff3bf; color: #f59f00; }
.stat-card .stat-icon.purple  { background: #e5dbff; color: #7950f2; }

.stat-card .stat-info h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--admin-text);
    line-height: 1;
    margin-bottom: 4px;
}

.stat-card .stat-info p {
    font-size: 0.8125rem;
    color: var(--admin-text-light);
    font-weight: 500;
}

/* ── Data Table ────────────────────────────────────────────── */
.data-card {
    background: var(--admin-card);
    border-radius: var(--admin-radius);
    border: 1px solid var(--admin-border);
    overflow: hidden;
}

.data-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid var(--admin-border);
    flex-wrap: wrap;
    gap: 12px;
}

.data-card-header h3 {
    font-size: 1rem;
    font-weight: 700;
}

/* Responsive table wrapper */
.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

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

.data-table th {
    text-align: left;
    padding: 12px 24px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--admin-text-light);
    background: #fafbfc;
    border-bottom: 1px solid var(--admin-border);
    white-space: nowrap;
}

.data-table td {
    padding: 14px 24px;
    font-size: 0.875rem;
    border-bottom: 1px solid var(--admin-border);
    vertical-align: middle;
}

.data-table tr:last-child td {
    border-bottom: none;
}

.data-table tr:hover td {
    background: #fafbfc;
}

.data-table .actions {
    display: flex;
    gap: 6px;
}

.data-table .place-thumb {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    object-fit: cover;
    background: #f1f3f5;
}

.data-table .place-thumb-empty {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    background: #f1f3f5;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ced4da;
}

.badge {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
}

.badge-active {
    background: #d3f9d8;
    color: #2b8a3e;
}

.badge-inactive {
    background: #ffe3e3;
    color: #c92a2a;
}

/* ── Form Card ─────────────────────────────────────────────── */
.form-card {
    background: var(--admin-card);
    border-radius: var(--admin-radius);
    border: 1px solid var(--admin-border);
    padding: 32px;
    max-width: 700px;
}

.form-card h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--admin-border);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

/* Image Upload */
.image-upload-area {
    border: 2px dashed var(--admin-border);
    border-radius: var(--admin-radius);
    padding: 24px;
    text-align: center;
    cursor: pointer;
    transition: all var(--admin-transition);
    margin-bottom: 8px;
}

.image-upload-area:hover {
    border-color: var(--admin-primary);
    background: rgba(66,99,235,0.02);
}

.image-upload-area i {
    font-size: 2rem;
    color: var(--admin-text-light);
    margin-bottom: 8px;
}

.image-upload-area p {
    font-size: 0.8125rem;
    color: var(--admin-text-light);
}

.image-upload-area #image-preview {
    max-width: 200px;
    max-height: 150px;
    margin: 8px auto 0;
    border-radius: 8px;
    display: none;
}

.current-image {
    margin-top: 12px;
}

.current-image img {
    max-width: 200px;
    border-radius: 8px;
    border: 1px solid var(--admin-border);
}

/* ── Flash Messages (Admin) ────────────────────────────────── */
.alert {
    padding: 14px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-weight: 500;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 10px;
    animation: slideDown 0.3s ease;
}

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

.alert-success {
    background: #d3f9d8;
    color: #2b8a3e;
    border: 1px solid #b2f2bb;
}

.alert-error {
    background: #ffe3e3;
    color: #c92a2a;
    border: 1px solid #ffc9c9;
}

/* ── Confirm Delete ────────────────────────────────────────── */
.confirm-delete {
    background: var(--admin-card);
    border-radius: var(--admin-radius);
    border: 1px solid var(--admin-border);
    padding: 40px;
    max-width: 480px;
    text-align: center;
}

.confirm-delete .delete-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: #ffe3e3;
    color: #ff6b6b;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.confirm-delete h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.confirm-delete p {
    color: var(--admin-text-light);
    font-size: 0.875rem;
    margin-bottom: 24px;
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE ADMIN
   ═══════════════════════════════════════════════════════════════ */

/* Tablet */
@media (max-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .admin-content {
        padding: 24px 20px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    /* Sidebar becomes full-screen overlay on mobile */
    .admin-sidebar {
        transform: translateX(-100%);
        width: 280px;
        box-shadow: 4px 0 20px rgba(0,0,0,0.3);
    }

    .admin-sidebar.is-open {
        transform: translateX(0);
    }

    /* Hide old floating toggle - replaced by bottom nav & topbar hamburger */
    .sidebar-toggle {
        display: none;
    }

    .sidebar-overlay.is-open {
        display: block;
    }

    .admin-main {
        margin-left: 0;
        padding-bottom: 70px; /* space for bottom nav */
    }

    /* Mobile topbar with hamburger */
    .admin-topbar {
        padding: 0 16px;
        height: 56px;
        position: sticky;
        top: 0;
        z-index: 50;
        background: var(--admin-card);
        box-shadow: 0 1px 4px rgba(0,0,0,0.06);
    }

    .admin-topbar h2 {
        font-size: 0.9375rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 200px;
    }

    .admin-content {
        padding: 16px 12px;
    }

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

    .stat-card {
        padding: 16px;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .stat-card .stat-icon {
        width: 40px;
        height: 40px;
        border-radius: 10px;
        font-size: 1rem;
    }

    .stat-card .stat-info h3 {
        font-size: 1.25rem;
    }

    .stat-card .stat-info p {
        font-size: 0.75rem;
    }

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

    .form-card {
        padding: 20px 14px;
    }

    .form-card h3 {
        font-size: 1rem;
    }

    .data-card-header {
        padding: 14px 16px;
        flex-direction: column;
        align-items: flex-start;
    }

    /* Mobile table: card-based layout */
    .data-table {
        min-width: unset;
    }

    .data-table thead {
        display: none;
    }

    .data-table tbody tr {
        display: flex;
        flex-direction: column;
        padding: 14px 16px;
        border-bottom: 1px solid var(--admin-border);
        gap: 6px;
    }

    .data-table tbody tr:hover td {
        background: transparent;
    }

    .data-table td {
        padding: 2px 0;
        border-bottom: none;
        font-size: 0.8125rem;
    }

    .data-table td::before {
        content: attr(data-label);
        font-weight: 600;
        font-size: 0.6875rem;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        color: var(--admin-text-light);
        display: block;
        margin-bottom: 2px;
    }

    .data-table .actions {
        padding-top: 8px;
        justify-content: flex-start;
    }

    .data-table th,
    .data-table td {
        padding: 4px 0;
    }

    .data-table .place-thumb,
    .data-table .place-thumb-empty {
        width: 60px;
        height: 60px;
    }

    .login-card {
        padding: 32px 24px;
    }

    .confirm-delete {
        padding: 24px;
    }

    /* Buttons full width on mobile for easy tapping */
    .btn-group {
        flex-direction: column;
    }

    .btn-group .btn {
        width: 100%;
        justify-content: center;
    }

    /* Mobile bottom navigation bar */
    .admin-bottom-nav {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        height: 64px;
        background: var(--admin-sidebar-bg);
        border-top: 1px solid rgba(255,255,255,0.08);
        z-index: 200;
        box-shadow: 0 -4px 16px rgba(0,0,0,0.15);
    }

    .admin-bottom-nav a {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 4px;
        color: rgba(255,255,255,0.5);
        font-size: 0.625rem;
        font-weight: 500;
        text-decoration: none;
        transition: all 0.2s;
        position: relative;
    }

    .admin-bottom-nav a i {
        font-size: 1.15rem;
    }

    .admin-bottom-nav a:hover,
    .admin-bottom-nav a.active {
        color: #fff;
    }

    .admin-bottom-nav a.active::before {
        content: '';
        position: absolute;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 24px;
        height: 3px;
        background: var(--admin-primary);
        border-radius: 0 0 3px 3px;
    }

    /* Mobile hamburger in topbar */
    .mobile-menu-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 36px;
        height: 36px;
        border: none;
        background: transparent;
        color: var(--admin-text);
        font-size: 1.125rem;
        cursor: pointer;
        border-radius: 8px;
        transition: background 0.2s;
    }

    .mobile-menu-btn:hover {
        background: rgba(0,0,0,0.05);
    }

    /* Coordinates section mobile */
    .coordinates-section {
        padding: 14px;
    }

    .coordinates-actions {
        flex-direction: column;
        align-items: stretch;
    }

    /* Image upload area */
    .image-upload-area {
        padding: 16px;
    }
}

/* Desktop: hide mobile-only elements */
@media (min-width: 769px) {
    .admin-bottom-nav {
        display: none !important;
    }
    .mobile-menu-btn {
        display: none !important;
    }
}

/* Small phone */
@media (max-width: 480px) {
    .admin-topbar .admin-user span {
        display: none;
    }

    .admin-topbar h2 {
        font-size: 0.875rem;
        max-width: 150px;
    }

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

    .stat-card {
        flex-direction: row;
        align-items: center;
        padding: 14px;
    }

    .stat-card .stat-icon {
        width: 36px;
        height: 36px;
        font-size: 0.875rem;
    }

    .stat-card .stat-info h3 {
        font-size: 1.125rem;
    }

    .admin-content {
        padding: 12px 10px;
    }

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

    .custom-modal-box {
        padding: 24px 16px;
    }

    .custom-modal-box h3 {
        font-size: 1.0625rem;
    }

    .custom-modal-box p {
        font-size: 0.8125rem;
    }

    .admin-bottom-nav {
        height: 58px;
    }

    .admin-bottom-nav a {
        font-size: 0.5625rem;
    }

    .admin-bottom-nav a i {
        font-size: 1rem;
    }
}

/* ── Custom Modal Overlay ────────────────────────────────────── */
.custom-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s ease;
}

.custom-modal-overlay.is-active {
    opacity: 1;
    visibility: visible;
}

.custom-modal-box {
    background: var(--admin-card);
    border-radius: 16px;
    padding: 32px 24px;
    width: 90%;
    max-width: 380px;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0,0,0,0.25);
    transform: translateY(30px) scale(0.95);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.custom-modal-overlay.is-active .custom-modal-box {
    transform: translateY(0) scale(1);
}

.custom-modal-box .custom-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: #ffe3e3;
    color: #ff6b6b;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
}

.custom-modal-box h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--admin-text);
    margin-bottom: 8px;
}

.custom-modal-box p {
    font-size: 0.9375rem;
    color: var(--admin-text-light);
    margin-bottom: 24px;
    line-height: 1.5;
}

.custom-modal-box .custom-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.custom-modal-box .custom-actions .btn {
    flex: 1;
    padding: 10px 0;
    font-size: 0.9375rem;
    font-weight: 600;
    border-radius: 8px;
    justify-content: center;
}

/* ── GPS Coordinates Section (Place Add/Edit) ─────────────── */
.coordinates-section {
    margin-bottom: 20px;
    padding: 20px;
    border: 1.5px dashed var(--admin-border);
    border-radius: var(--admin-radius);
    background: linear-gradient(135deg, rgba(66,99,235,0.02), rgba(32,201,151,0.02));
    transition: border-color var(--admin-transition);
}

.coordinates-section:focus-within {
    border-color: var(--admin-primary);
    background: linear-gradient(135deg, rgba(66,99,235,0.04), rgba(32,201,151,0.04));
}

.coordinates-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--admin-primary);
    margin-bottom: 16px;
}

.coordinates-label i {
    font-size: 1rem;
}

.coordinates-actions {
    margin-top: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.coordinates-actions .form-hint {
    margin-top: 0;
    display: flex;
    align-items: flex-start;
    gap: 6px;
    flex: 1;
    min-width: 200px;
}

.coordinates-actions .form-hint i {
    color: var(--admin-primary);
    margin-top: 2px;
    flex-shrink: 0;
}

.btn-map-preview {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: linear-gradient(135deg, #4263eb, #3b5bdb);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 0.8125rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.btn-map-preview:hover {
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(66,99,235,0.3);
    color: #fff;
}
