﻿/* Global Değişkenler ve Ayarlar */
:root {
    --primary-color: #0dcaf0; /* Turkuaz */
    --secondary-color: #0d6efd; /* Mavi */
    --accent-color: #ffc107; /* Kum/Sarı */
    --dark-overlay: rgba(0, 0, 0, 0.5);
    --body-bg: #f8f9fa;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--body-bg);
}

/* Yardımcı Sınıflar */
.text-primary-custom {
    color: var(--primary-color) !important;
}

.btn-primary-custom {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: white;
}

.btn-primary-custom:hover {
    background-color: #0b5ed7;
    border-color: #0a58ca;
    color: white;
}

/* ============================================
   GLOBAL BREADCRUMB STİLLERİ
   ============================================ */
.otel-detail--breadcrumb {
    background: #f8f9fa;
    padding: 1rem 0;
    border-bottom: 1px solid #eee;
}

.otel-detail--breadcrumb .breadcrumb-item a {
    color: #6c757d;
    text-decoration: none;
    font-size: 0.85rem;
}

.otel-detail--breadcrumb .breadcrumb-item a:hover {
    color: var(--primary-color);
}

.otel-detail--breadcrumb .breadcrumb-item.active {
    color: #333;
    font-size: 0.85rem;
    font-weight: 500;
}

.otel-detail--breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    color: #999;
    content: "›";
}

/* ============================================
   FAVORİ TOAST STİLLERİ (Sağ Üst Köşe)
   ============================================ */
.favorite-toast {
    position: fixed;
    top: 100px;
    right: 20px;
    transform: translateX(120%);
    background: #fff;
    color: #1e3a5f;
    padding: 16px 20px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
    z-index: 9999;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    border-left: 4px solid #1e3a5f;
    max-width: 360px;
    min-width: 280px;
}

.favorite-toast.show {
    transform: translateX(0);
    opacity: 1;
}

.favorite-toast-content {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
}

.favorite-toast-content i {
    font-size: 1.25rem;
}

.favorite-toast-content span {
    line-height: 1.4;
}

.favorite-toast-btn {
    background: #1e3a5f;
    color: #fff;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.favorite-toast-btn:hover {
    background: #2d5a87;
    color: #fff;
    transform: translateY(-1px);
}

.favorite-toast-close {
    background: none;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
    margin-left: auto;
}

.favorite-toast-close:hover {
    color: #1e3a5f;
}

.favorite-toast-close i {
    font-size: 1.1rem;
}

/* Toast Türleri */
.favorite-toast--success {
    border-left-color: #10b981;
}

.favorite-toast--success .favorite-toast-content i {
    color: #10b981;
}

.favorite-toast--warning {
    border-left-color: #f59e0b;
}

.favorite-toast--warning .favorite-toast-content i {
    color: #f59e0b;
}

.favorite-toast--error {
    border-left-color: #ef4444;
}

.favorite-toast--error .favorite-toast-content i {
    color: #ef4444;
}

.favorite-toast--info {
    border-left-color: #64748b;
}

.favorite-toast--info .favorite-toast-content i {
    color: #64748b;
}

/* Responsive */
@media (max-width: 576px) {
    .favorite-toast {
        top: auto;
        bottom: 20px;
        right: 10px;
        left: 10px;
        max-width: none;
        min-width: auto;
        transform: translateY(120%);
    }
    
    .favorite-toast.show {
        transform: translateY(0);
    }
}

/* Favori butonu aktif durumu */
.tour-card--favorite.active i,
.tour-detail--action-btn.active i {
    color: #e91e63 !important;
}

.tour-card--favorite.active,
.tour-detail--action-btn.active {
    background: white;
    border-color: #e91e63 !important;
}

/* ============================================
   LOGIN TOAST STİLLERİ (Sağ Üst Köşe)
   ============================================ */
.login-toast {
    position: fixed;
    top: 100px;
    right: 20px;
    transform: translateX(120%);
    background: #fff;
    padding: 20px 24px;
    border-radius: 16px;
    font-size: 14px;
    z-index: 99999;
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    display: flex;
    align-items: flex-start;
    gap: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(0, 0, 0, 0.05);
    border-left: 5px solid #10b981;
    max-width: 400px;
    min-width: 320px;
    backdrop-filter: blur(10px);
}

.login-toast.show {
    transform: translateX(0);
    opacity: 1;
}

.login-toast-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(16, 185, 129, 0.05));
}

.login-toast-icon i {
    font-size: 1.75rem;
}

.login-toast--error .login-toast-icon {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1), rgba(239, 68, 68, 0.05));
}

.login-toast--warning .login-toast-icon {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(245, 158, 11, 0.05));
}

.login-toast-body {
    flex: 1;
    padding-top: 4px;
}

.login-toast-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 4px;
    letter-spacing: -0.3px;
}

.login-toast-message {
    font-size: 0.9rem;
    color: #64748b;
    line-height: 1.5;
}

.login-toast-close {
    position: absolute;
    top: 12px;
    right: 12px;
    background: none;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    border-radius: 6px;
}

.login-toast-close:hover {
    color: #1e3a5f;
    background: #f1f5f9;
}

.login-toast-close i {
    font-size: 1rem;
}

/* Login Toast Animasyonu */
@keyframes loginToastPulse {
    0%, 100% { box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(0, 0, 0, 0.05); }
    50% { box-shadow: 0 25px 70px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(0, 0, 0, 0.05); }
}

.login-toast--success.show {
    animation: loginToastPulse 2s ease-in-out;
}

/* Responsive */
@media (max-width: 576px) {
    .login-toast {
        top: auto;
        bottom: 20px;
        right: 10px;
        left: 10px;
        max-width: none;
        min-width: auto;
        transform: translateY(120%);
        padding: 16px 20px;
    }
    
    .login-toast.show {
        transform: translateY(0);
    }
    
    .login-toast-icon {
        width: 40px;
        height: 40px;
        min-width: 40px;
    }
    
    .login-toast-icon i {
        font-size: 1.5rem;
    }
    
    .login-toast-title {
        font-size: 1rem;
    }
}


/* ============================================
   PROFILE TOAST STİLLERİ (Sağ Üst Köşe)
   ============================================ */
.profile-toast {
    position: fixed;
    top: 100px;
    right: 20px;
    transform: translateX(120%);
    background: #fff;
    padding: 18px 22px;
    border-radius: 14px;
    font-size: 14px;
    z-index: 99999;
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    display: flex;
    align-items: flex-start;
    gap: 14px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(0, 0, 0, 0.04);
    border-left: 4px solid #10b981;
    max-width: 380px;
    min-width: 300px;
}

.profile-toast.show {
    transform: translateX(0);
    opacity: 1;
}

.profile-toast-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(16, 185, 129, 0.05));
}

.profile-toast-icon i {
    font-size: 1.4rem;
    color: #10b981;
}

.profile-toast--error .profile-toast-icon {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.15), rgba(239, 68, 68, 0.05));
}

.profile-toast--error .profile-toast-icon i {
    color: #ef4444;
}

.profile-toast--warning .profile-toast-icon {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.15), rgba(245, 158, 11, 0.05));
}

.profile-toast--warning .profile-toast-icon i {
    color: #f59e0b;
}

.profile-toast--info .profile-toast-icon {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(59, 130, 246, 0.05));
}

.profile-toast--info .profile-toast-icon i {
    color: #3b82f6;
}

.profile-toast-body {
    flex: 1;
    padding-top: 2px;
}

.profile-toast-title {
    font-size: 1rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 2px;
}

.profile-toast-message {
    font-size: 0.875rem;
    color: #64748b;
    line-height: 1.4;
}

.profile-toast-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    border-radius: 6px;
}

.profile-toast-close:hover {
    color: #1e3a5f;
    background: #f1f5f9;
}

/* ============================================
   CONFIRM MODAL STİLLERİ
   ============================================ */
.confirm-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.confirm-modal-overlay.show {
    opacity: 1;
}

.confirm-modal {
    background: #fff;
    border-radius: 20px;
    padding: 32px;
    max-width: 420px;
    width: 90%;
    text-align: center;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.25);
    transform: scale(0.9) translateY(20px);
    transition: transform 0.3s ease;
}

.confirm-modal-overlay.show .confirm-modal {
    transform: scale(1) translateY(0);
}

.confirm-modal-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.15), rgba(245, 158, 11, 0.05));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.confirm-modal-icon i {
    font-size: 2rem;
    color: #f59e0b;
}

.confirm-modal-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 12px;
}

.confirm-modal-message {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 24px;
}

.confirm-modal-password {
    text-align: left;
    margin-bottom: 24px;
}

.confirm-modal-password label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 8px;
}

.confirm-modal-password input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.confirm-modal-password input:focus {
    outline: none;
    border-color: #1e3a5f;
    box-shadow: 0 0 0 3px rgba(30, 58, 95, 0.1);
}

.confirm-modal-actions {
    display: flex;
    gap: 12px;
}

.confirm-modal-btn {
    flex: 1;
    padding: 12px 20px;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
}

.confirm-modal-btn.cancel {
    background: #f1f5f9;
    color: #64748b;
}

.confirm-modal-btn.cancel:hover {
    background: #e2e8f0;
    color: #475569;
}

.confirm-modal-btn.confirm {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: #fff;
}

.confirm-modal-btn.confirm:hover {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

/* Responsive */
@media (max-width: 576px) {
    .profile-toast {
        top: auto;
        bottom: 20px;
        right: 10px;
        left: 10px;
        max-width: none;
        min-width: auto;
        transform: translateY(120%);
    }
    
    .profile-toast.show {
        transform: translateY(0);
    }
    
    .confirm-modal {
        padding: 24px;
        margin: 20px;
    }
    
    .confirm-modal-actions {
        flex-direction: column;
    }
}
