/* ============================================================
   GeoProblemBot — Urban Cartography Design System
   Noble Green · Emerald Sovereign
   ============================================================ */

/* ----- CSS Variables ----- */
:root {
    --bg-primary: #0a1a10;
    --bg-secondary: #0d2115;
    --bg-tertiary: #132b1c;
    --bg-card: #183322;
    --bg-elevated: #1d3d29;

    --text-primary: #e5e7e6;
    --text-secondary: #8fa898;
    --text-muted: #5a7a66;

    --accent-emerald: #2d8a4e;
    --accent-emerald-light: #35b85a;
    --accent-gold: #c9a94c;
    --accent-gold-light: #d4b85a;
    --accent-red: #ef4444;
    --accent-cyan: #38bdf8;

    --border: #1a3a25;
    --border-light: #244d32;

    --font-display: 'Playfair Display', 'Georgia', serif;
    --font-body: 'Manrope', system-ui, sans-serif;

    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 14px;
    --radius-xl: 20px;
    --radius-2xl: 28px;

    --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.5);
    --shadow-glow-emerald: 0 0 20px rgba(45, 138, 78, 0.2);
    --shadow-glow-gold: 0 0 20px rgba(201, 169, 76, 0.15);

    --dock-height: 70px;
}

/* ----- Reset & Base ----- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.5;
    min-height: 100vh;
}

/* ----- Typography ----- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

/* ----- Navigation ----- */
.nav-bar {
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border);
    padding: 12px 24px;
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.nav-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.nav-brand-icon {
    font-size: 24px;
    line-height: 1;
}

.nav-brand-text {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    white-space: nowrap;
}



/* ----- Map ----- */
#map {
    width: 100%;
    height: 100vh;
    height: 100dvh;
}

/* Subtle darkening for Yandex tiles */
[class*="ymaps"][class*="-ground-pane"] {
    filter: brightness(0.85) saturate(0.9);
}

[class*="ymaps"][class*="-copyrights"] {
    display: none !important;
}

/* Yandex balloon custom wrapper */
.balloon-card-wrapper {
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
    margin: 0;
}



/* ============================================================
   Bottom Dock
   ============================================================ */
.dock {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 70px;
    height: calc(70px + env(safe-area-inset-bottom, 0px));
    padding-bottom: env(safe-area-inset-bottom, 0px);
    background: #0d2115;
    border-top: 1px solid rgba(45, 138, 78, 0.2);
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding-left: 8px;
    padding-right: 8px;
}
@supports (backdrop-filter: blur(18px)) or (-webkit-backdrop-filter: blur(18px)) {
    .dock {
        background: rgba(10, 26, 16, 0.88);
        backdrop-filter: blur(18px);
        -webkit-backdrop-filter: blur(18px);
    }
}

.dock-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    padding: 6px 10px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    background: transparent;
    color: var(--text-muted);
    font-family: var(--font-body);
    position: relative;
    min-width: 48px;
    flex: 1;
    max-width: 72px;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
}

.dock-item:hover,
.dock-item:active {
    color: var(--accent-emerald-light);
}

.dock-item.active {
    color: var(--accent-emerald-light);
}

.dock-item.active::after {
    content: '';
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 2px;
    background: var(--accent-emerald-light);
    border-radius: 2px;
}

.dock-icon {
    font-size: 20px;
    line-height: 1;
    transition: transform 0.2s;
}

.dock-item:active .dock-icon {
    transform: scale(0.9);
}

.dock-label {
    font-size: 8px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    white-space: nowrap;
    color: inherit;
}

/* Add button — floating center orb */
.dock-add-wrap {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 64px;
}

.dock-add {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(145deg, var(--accent-emerald), var(--accent-emerald-light));
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 28px;
    font-weight: 300;
    font-family: var(--font-body);
    box-shadow: 0 4px 20px rgba(45, 138, 78, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.15);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: -12px;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
    line-height: 1;
}

.dock-add:active {
    transform: scale(0.92);
    box-shadow: 0 2px 10px rgba(45, 138, 78, 0.3);
}

/* ============================================================
   Stat Bottom Sheet
   ============================================================ */
.stat-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 60;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    animation: stat-fade-in 0.25s ease;
}

.stat-overlay.hidden {
    display: none;
}

.stat-sheet {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-top-left-radius: var(--radius-2xl);
    border-top-right-radius: var(--radius-2xl);
    padding: 24px 24px 32px;
    width: 100%;
    max-width: 480px;
    max-height: 70vh;
    overflow-y: auto;
    box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.4);
    animation: stat-sheet-up 0.35s cubic-bezier(0.32, 0.72, 0, 1);
}

.stat-handle {
    width: 36px;
    height: 4px;
    border-radius: 2px;
    background: var(--border-light);
    margin: 0 auto 20px;
}

.stat-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 20px;
    text-align: center;
    margin-bottom: 20px;
    color: var(--accent-gold);
}

.stat-grid {
    display: grid;
    gap: 12px;
}

.stat-card {
    background: var(--bg-tertiary);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 14px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.stat-card-label {
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.stat-card-value {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 800;
    color: var(--accent-emerald-light);
}

.stat-bar {
    background: var(--bg-tertiary);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 10px 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.stat-bar-track {
    flex: 1;
    height: 6px;
    background: var(--bg-primary);
    border-radius: 3px;
    overflow: hidden;
}

.stat-bar-fill {
    height: 100%;
    border-radius: 3px;
    transition: width 0.6s cubic-bezier(0.32, 0.72, 0, 1);
}

.stat-bar-label {
    font-size: 12px;
    font-weight: 600;
    min-width: 100px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.stat-bar-count {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-muted);
    min-width: 24px;
    text-align: right;
}

.stat-total {
    text-align: center;
    padding: 16px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
}

.stat-total-num {
    font-family: var(--font-display);
    font-size: 36px;
    font-weight: 800;
    color: var(--accent-gold);
    line-height: 1;
}

.stat-total-label {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.stat-close {
    display: block;
    width: 100%;
    margin-top: 16px;
    padding: 12px;
    border-radius: var(--radius-md);
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-secondary);
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    -webkit-tap-highlight-color: transparent;
}

.stat-close:hover,
.stat-close:active {
    background: var(--bg-elevated);
    color: var(--text-primary);
}

@keyframes stat-fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes stat-sheet-up {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

/* ----- Loading Skeleton ----- */
.map-skeleton {
    position: fixed;
    inset: 0;
    background: var(--bg-primary);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    z-index: 10;
    transition: opacity 0.5s ease;
}

.map-skeleton.hidden {
    opacity: 0;
    pointer-events: none;
}

.skeleton-pulse {
    width: 48px;
    height: 48px;
    border: 3px solid var(--border-light);
    border-top-color: var(--accent-emerald-light);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.skeleton-text {
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--text-muted);
    animation: pulse-text 1.5s ease-in-out infinite;
}

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

@keyframes pulse-text {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 1; }
}

/* ----- Empty State ----- */
.empty-state {
    position: fixed;
    top: calc(12px + env(safe-area-inset-top, 0px));
    left: 50%;
    transform: translateX(-50%);
    z-index: 30;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.empty-state.hidden {
    opacity: 0;
    pointer-events: none;
}

.empty-state-inner {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 10px 16px;
    box-shadow: var(--shadow-card);
    white-space: nowrap;
}

.empty-icon {
    font-size: 20px;
    line-height: 1;
    flex-shrink: 0;
}

.empty-title {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 13px;
    color: var(--text-primary);
}

.empty-desc {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 1px;
}

/* ----- Balloon (Yandex custom balloon) ----- */
.balloon-card {
    width: 260px;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--bg-card);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-card);
}

.balloon-photo {
    width: 100%;
    height: 120px;
    object-fit: cover;
    display: block;
    background: var(--bg-tertiary);
}

.balloon-body {
    padding: 12px 14px 10px;
}

.balloon-category {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 13px;
    margin-bottom: 3px;
}

.balloon-address {
    font-size: 11px;
    color: var(--text-muted);
    margin-bottom: 6px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.balloon-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 10px;
    color: var(--text-muted);
    padding-top: 6px;
    border-top: 1px solid var(--border);
}

.balloon-link {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 11px;
    color: var(--accent-emerald-light);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: color 0.2s;
}

.balloon-link:hover {
    color: #40c76c;
}

.balloon-status {
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

/* ----- Toast ----- */
.toast-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 8px;
    pointer-events: none;
}

.toast {
    pointer-events: auto;
    padding: 12px 20px;
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    color: var(--text-primary);
    box-shadow: var(--shadow-card);
    animation: toast-in 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 8px;
    max-width: 360px;
}

.toast.success { border-color: var(--accent-green); }
.toast.error { border-color: var(--accent-red); }
.toast.info { border-color: var(--accent-cyan); }

.toast.out {
    animation: toast-out 0.3s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes toast-in {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes toast-out {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

/* ----- Admin Modal ----- */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 500;
    animation: fade-in 0.2s ease;
}

.modal-overlay.hidden {
    display: none;
}

.modal-box {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px 32px 24px;
    max-width: 400px;
    width: 90%;
    box-shadow: var(--shadow-card);
    animation: modal-in 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-title {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 16px;
    margin-bottom: 8px;
}

.modal-text {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.modal-actions {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
}

.btn {
    padding: 8px 20px;
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-primary {
    background: var(--accent-emerald-light);
    color: #0a1a10;
}

.btn-primary:hover {
    background: #40c76c;
    transform: translateY(-1px);
}

.btn-danger {
    background: var(--accent-red);
    color: white;
}

.btn-danger:hover {
    background: #f87171;
    transform: translateY(-1px);
}

.btn-ghost {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border);
}

.btn-ghost:hover {
    background: var(--bg-tertiary);
    color: var(--text-primary);
}

@keyframes fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes modal-in {
    from {
        transform: scale(0.95) translateY(10px);
        opacity: 0;
    }
    to {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}

/* ----- Problem Detail Page ----- */
.problem-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-card);
}

.problem-photo {
    width: 100%;
    max-height: 480px;
    object-fit: cover;
    display: block;
    background: var(--bg-tertiary);
}

@media (max-width: 640px) {
    .problem-photo {
        max-height: 280px;
    }
}

.problem-body {
    padding: 28px 32px 32px;
}

@media (max-width: 640px) {
    .problem-body {
        padding: 20px;
    }
}

.info-label {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.info-value {
    font-size: 15px;
    line-height: 1.6;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 12px;
    border-radius: var(--radius-xl);
    font-size: 12px;
    font-weight: 700;
    font-family: var(--font-body);
}

.status-badge.approved {
    background: rgba(34, 197, 94, 0.12);
    color: var(--accent-green);
    border: 1px solid rgba(34, 197, 94, 0.25);
}

.status-badge.pending {
    background: rgba(201, 169, 76, 0.12);
    color: var(--accent-gold);
    border: 1px solid rgba(201, 169, 76, 0.25);
}

/* ----- Admin ----- */
.admin-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 24px;
}

@media (max-width: 900px) {
    .admin-layout {
        grid-template-columns: 1fr;
    }
}

.admin-panel {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 20px;
}

.admin-panel-title {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 15px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.problem-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 480px;
    overflow-y: auto;
}

.problem-list::-webkit-scrollbar {
    width: 4px;
}
.problem-list::-webkit-scrollbar-track {
    background: transparent;
}
.problem-list::-webkit-scrollbar-thumb {
    background: var(--border-light);
    border-radius: 4px;
}

.admin-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    background: var(--bg-tertiary);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.admin-item:hover {
    background: var(--bg-elevated);
    border-color: var(--border-light);
}

.admin-item.selected {
    border-color: var(--accent-gold);
    background: rgba(201, 169, 76, 0.06);
}

.admin-item-thumb {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    object-fit: cover;
    background: var(--bg-primary);
    flex-shrink: 0;
}

.admin-item-info {
    flex: 1;
    min-width: 0;
}

.admin-item-category {
    font-size: 13px;
    font-weight: 700;
    font-family: var(--font-display);
}

.admin-item-address {
    font-size: 11px;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.admin-item-date {
    font-size: 10px;
    color: var(--text-muted);
}

.admin-delete-btn {
    flex-shrink: 0;
    padding: 6px 8px;
    border-radius: var(--radius-sm);
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 14px;
    color: var(--text-muted);
    transition: all 0.2s;
}

.admin-delete-btn:hover {
    background: rgba(239, 68, 68, 0.12);
    color: var(--accent-red);
}

/* ----- Links ----- */
a {
    color: var(--accent-cyan);
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: #60d0ff;
}

/* ----- Utils ----- */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

.container-narrow {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ----- Add Problem Form ----- */
.add-sheet {
    max-height: 85vh;
}

.form-group {
    margin-bottom: 16px;
}

.form-label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: var(--text-secondary);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.form-optional {
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0;
    color: var(--text-muted);
}

.form-select,
.form-textarea {
    width: 100%;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    background: var(--bg-tertiary);
    border: 1px solid var(--border);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s;
}

.form-select:focus,
.form-textarea:focus {
    border-color: var(--accent-emerald-light);
}

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

.form-select option {
    background: var(--bg-card);
    color: var(--text-primary);
}

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

.form-textarea::placeholder {
    color: var(--text-muted);
}

.file-upload {
    border: 2px dashed var(--border-light);
    border-radius: var(--radius-md);
    padding: 24px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    min-height: 100px;
    justify-content: center;
}

.file-upload:hover {
    border-color: var(--accent-emerald-light);
    background: rgba(45, 138, 78, 0.05);
}

.photo-preview {
    max-width: 100%;
    max-height: 200px;
    border-radius: var(--radius-sm);
    object-fit: contain;
}

.photo-preview.hidden {
    display: none;
}

.add-coords {
    font-size: 13px;
    color: var(--accent-emerald-light);
    font-weight: 600;
    padding: 8px 12px;
    background: var(--bg-tertiary);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    transition: border-color 0.2s, background 0.2s;
}
.add-coords[style*="pointer"]:hover {
    border-color: var(--accent-emerald-light);
    background: var(--bg-card);
}

.form-submit {
    width: 100%;
    padding: 14px;
    border-radius: var(--radius-md);
    background: linear-gradient(145deg, var(--accent-emerald), var(--accent-emerald-light));
    color: #fff;
    border: none;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 16px rgba(45, 138, 78, 0.35);
}

.form-submit:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(45, 138, 78, 0.45);
}

.form-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

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

.spin {
    animation: spin 0.8s linear infinite;
}

/* ----- Staggered marker animation ----- */
@keyframes marker-drop {
    from {
        transform: translateY(-30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}
