/* ===== GEOLOCATION BUTTON ===== */
.geo-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 14px;
    background: #fff;
    border: 1.5px solid #e2e8f0;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    color: #1a202c;
    cursor: pointer;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
    font-family: 'Inter', sans-serif;
    white-space: nowrap;
    flex-shrink: 0;
}

.geo-btn:hover {
    border-color: #0055ff;
    box-shadow: 0 2px 10px rgba(0, 85, 255, 0.12);
    background: #f0f5ff;
    color: #0055ff;
}

.geo-btn:hover .geo-icon {
    color: #0055ff;
}

.geo-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.geo-icon {
    font-size: 14px;
    color: #0055ff;
    transition: color 0.2s;
    flex-shrink: 0;
}

/* Loading state */
.geo-btn.geo-loading {
    border-color: #0055ff;
    background: #f0f5ff;
    color: #0055ff;
    pointer-events: none;
}

.geo-btn.geo-loading .geo-icon {
    animation: geo-spin 0.9s linear infinite;
}

@keyframes geo-spin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

/* Success state */
.geo-btn.geo-success {
    border-color: #00b894;
    background: #f0fdf4;
    color: #00b894;
}

.geo-btn.geo-success .geo-icon {
    color: #00b894;
}

/* Result chip — butonun yanında gösterilen konum */
.geo-result-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    background: #f0fdf4;
    border: 1.5px solid #bbf7d0;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    color: #15803d;
    animation: geo-fadein 0.3s ease;
}

.geo-result-chip i {
    font-size: 11px;
    color: #16a34a;
}

.geo-result-chip .geo-chip-close {
    background: none;
    border: none;
    padding: 0;
    margin-left: 2px;
    cursor: pointer;
    color: #86efac;
    font-size: 14px;
    line-height: 1;
    transition: color 0.15s;
}

.geo-result-chip .geo-chip-close:hover {
    color: #15803d;
}

@keyframes geo-fadein {
    from { opacity: 0; transform: scale(0.92); }
    to   { opacity: 1; transform: scale(1); }
}

/* Toast notification */
.geo-toast {
    position: fixed;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: #1a202c;
    color: #fff;
    padding: 12px 20px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
    z-index: 99999;
    opacity: 0;
    transition: opacity 0.25s ease, transform 0.25s ease;
    display: flex;
    align-items: center;
    gap: 9px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.25);
    max-width: 340px;
    text-align: center;
    pointer-events: none;
}

.geo-toast.geo-toast-error {
    background: #dc2626;
}

.geo-toast.geo-toast-show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .geo-btn {
        padding: 9px 14px;
        font-size: 13px;
    }

    .geo-toast {
        bottom: 80px; /* above mobile nav */
        width: calc(100% - 32px);
        max-width: 100%;
    }
}
