/* Location Confirmation Modal */
.location-confirm-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.location-confirm-modal {
    background: var(--card-background);
    border-radius: 12px;
    width: 100%;
    max-width: 900px;
    max-height: 95vh;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
}

.location-confirm-header {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--subtle-border);
}

.location-confirm-header h3 {
    margin: 0 0 0.25rem 0;
    font-size: 1.125rem;
    color: var(--heading-text);
}

.location-confirm-header p {
    margin: 0;
    font-size: 0.875rem;
    color: var(--secondary-text);
}

.location-confirm-map {
    width: 100%;
    height: 550px;
    position: relative;
}

.location-confirm-map .leaflet-container {
    height: 100%;
    width: 100%;
}

.location-confirm-status {
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
    color: var(--body-text);
    background: var(--bg-muted);
    border-top: 1px solid var(--subtle-border);
}

.location-confirm-status.error {
    color: var(--error-text);
    background: var(--error-message);
}

.location-confirm-footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--subtle-border);
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
}

.location-confirm-footer button {
    padding: 0.625rem 1.25rem;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    border: none;
    transition: background 0.2s;
}

.location-confirm-btn-cancel {
    background: var(--bg-muted);
    color: var(--body-text);
}

.location-confirm-btn-cancel:hover {
    background: var(--soft-background);
}

.location-confirm-btn-confirm {
    background: #2563eb;
    color: var(--button-text-color);
}

.location-confirm-btn-confirm:hover {
    background: #1d4ed8;
}

.location-confirm-btn-confirm:disabled {
    background: #93c5fd;
    cursor: not-allowed;
}

/* Responsive */
@media (max-width: 640px) {
    .location-confirm-modal {
        max-width: 100%;
        max-height: 95vh;
    }

    .location-confirm-map {
        height: 360px;
    }

    .location-confirm-header {
        padding: 1rem;
    }

    .location-confirm-footer {
        padding: 0.75rem 1rem;
    }
}
