/* WhatsApp Destek Butonu - Floating Action Button */
.whatsapp-support-btn {
    position: fixed;
    bottom: 30px;
    right: 80px; /* Daha sola çekildi */
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4), 0 2px 8px rgba(0, 0, 0, 0.2);
    z-index: 1060; /* Rezervasyon modalının üzerinde (modal z-index: 1050) */
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    color: white;
    border: none;
    outline: none;
}

.whatsapp-support-btn svg {
    width: 32px;
    height: 32px;
    fill: white;
}

.whatsapp-support-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6), 0 4px 12px rgba(0, 0, 0, 0.3);
    background: linear-gradient(135deg, #25D366 0%, #20BA5A 100%);
}

.whatsapp-support-btn:active {
    transform: scale(0.95);
}

/* WhatsApp Tooltip Popup */
.whatsapp-tooltip {
    position: fixed;
    bottom: 100px;
    right: 80px;
    background: white;
    padding: 1rem 1.25rem;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    z-index: 1061; /* WhatsApp butonunun üzerinde */
    max-width: 250px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px) scale(0.95);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.whatsapp-tooltip.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    bottom: -8px;
    right: 30px;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid white;
}

.whatsapp-tooltip-text {
    margin: 0;
    font-size: 0.9375rem;
    color: #1e293b;
    font-weight: 500;
    line-height: 1.5;
}

.whatsapp-tooltip-close {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background: none;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    font-size: 1rem;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.whatsapp-tooltip-close:hover {
    background: #f1f5f9;
    color: #64748b;
}

/* Pulse animasyonu - dikkat çekmek için */
@keyframes whatsappPulse {
    0% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4), 0 2px 8px rgba(0, 0, 0, 0.2);
    }
    50% {
        box-shadow: 0 4px 30px rgba(37, 211, 102, 0.7), 0 2px 12px rgba(0, 0, 0, 0.3);
    }
    100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4), 0 2px 8px rgba(0, 0, 0, 0.2);
    }
}

.whatsapp-support-btn.pulse {
    animation: whatsappPulse 2s ease-in-out infinite;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .whatsapp-support-btn {
        width: 56px;
        height: 56px;
        bottom: 20px;
        right: 70px; /* Mobile'da da sola çekildi */
    }
    
    .whatsapp-support-btn svg {
        width: 28px;
        height: 28px;
    }
    
    .whatsapp-tooltip {
        bottom: 90px;
        right: 70px;
        max-width: 220px;
        padding: 0.875rem 1rem;
    }
    
    .whatsapp-tooltip-text {
        font-size: 0.875rem;
    }
}

/* Onboarding Overlay */
.onboarding-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 9999; /* En üstte */
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.onboarding-overlay.active {
    opacity: 1;
    visibility: visible;
}

.onboarding-modal {
    background: white;
    border-radius: 20px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: scale(0.9) translateY(20px);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

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

.onboarding-header {
    padding: 2rem 2rem 1rem;
    border-bottom: 1px solid #e5e7eb;
    text-align: center;
}

.onboarding-header h2 {
    margin: 0;
    font-size: 1.75rem;
    font-weight: 700;
    color: #1e293b;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.onboarding-header h2 i {
    color: #ed1c24;
    font-size: 2rem;
}

.onboarding-header p {
    margin: 0.75rem 0 0;
    color: #64748b;
    font-size: 0.9375rem;
}

.onboarding-body {
    padding: 2rem;
}

.onboarding-steps {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.onboarding-step {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem;
    background: #f8fafc;
    border-radius: 12px;
    border-left: 4px solid #ed1c24;
    transition: all 0.3s ease;
}

.onboarding-step:hover {
    background: #f1f5f9;
    transform: translateX(4px);
}

.onboarding-step-number {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ed1c24 0%, #ff4757 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.125rem;
    box-shadow: 0 4px 12px rgba(237, 28, 36, 0.3);
}

.onboarding-step-content {
    flex: 1;
}

.onboarding-step-content h3 {
    margin: 0 0 0.5rem;
    font-size: 1.125rem;
    font-weight: 600;
    color: #1e293b;
}

.onboarding-step-content p {
    margin: 0;
    color: #64748b;
    font-size: 0.9375rem;
    line-height: 1.6;
}

.onboarding-footer {
    padding: 1.5rem 2rem 2rem;
    border-top: 1px solid #e5e7eb;
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

.onboarding-btn {
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9375rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.onboarding-btn-secondary {
    background: #f1f5f9;
    color: #64748b;
}

.onboarding-btn-secondary:hover {
    background: #e2e8f0;
    color: #475569;
}

.onboarding-btn-primary {
    background: linear-gradient(135deg, #ed1c24 0%, #ff4757 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(237, 28, 36, 0.3);
}

.onboarding-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(237, 28, 36, 0.4);
}

/* Mobile responsive */
@media (max-width: 768px) {
    .onboarding-modal {
        width: 95%;
        max-height: 95vh;
        border-radius: 16px;
    }
    
    .onboarding-header {
        padding: 1.5rem 1.5rem 1rem;
    }
    
    .onboarding-header h2 {
        font-size: 1.5rem;
    }
    
    .onboarding-body {
        padding: 1.5rem;
    }
    
    .onboarding-step {
        padding: 1rem;
    }
    
    .onboarding-step-number {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }
    
    .onboarding-footer {
        padding: 1rem 1.5rem 1.5rem;
        flex-direction: column;
    }
    
    .onboarding-btn {
        width: 100%;
        justify-content: center;
    }
}

/* Scrollbar styling for onboarding modal */
.onboarding-modal::-webkit-scrollbar {
    width: 8px;
}

.onboarding-modal::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 10px;
}

.onboarding-modal::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}

.onboarding-modal::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Stand Color Legend Styles */
.stand-color-legend {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
}

.color-legend-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem;
    background: white;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    transition: all 0.2s ease;
}

.color-legend-item:hover {
    border-color: #cbd5e1;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.color-indicator {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    flex-shrink: 0;
    border: 2px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.color-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    flex: 1;
}

.color-info strong {
    font-size: 1rem;
    font-weight: 600;
    color: #1e293b;
}

.color-info span {
    font-size: 0.875rem;
    color: #64748b;
    line-height: 1.4;
}

@media (max-width: 768px) {
    .stand-color-legend {
        gap: 0.75rem;
    }
    
    .color-legend-item {
        padding: 0.625rem;
        gap: 0.75rem;
    }
    
    .color-indicator {
        width: 36px;
        height: 36px;
    }
    
    .color-info strong {
        font-size: 0.9375rem;
    }
    
    .color-info span {
        font-size: 0.8125rem;
    }
}

