/* Sticky Side Buttons - WhatsApp & Get Quote */
.sticky-side-buttons {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 9998;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.sticky-btn {
    width: 45px;
    height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 8px;
    border: none;
    cursor: pointer;
    transition: width 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    box-shadow: -2px 2px 10px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.sticky-btn i {
    font-size: 32px;
    margin-bottom: 10px;
    transition: transform 0.3s ease;
}

.sticky-btn:hover i {
    transform: scale(1.15);
}

.sticky-btn .btn-text {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: capitalize;
    line-height: 1.3;
    white-space: nowrap;
}

/* WhatsApp Button - Bright Green */
.whatsapp-btn {
    background: #25D366;
    color: #ffffff;
}

.whatsapp-btn:hover {
    background: #1EBE57;
    color: #ffffff;
    width: 55px;
    box-shadow: -3px 3px 18px rgba(37, 211, 102, 0.6);
}

/* Get Quote Button - Bright Orange */
.quote-btn {
    background: #FF6B35;
    color: #ffffff;
}

.quote-btn:hover {
    background: #E85A2B;
    color: #ffffff;
    width: 55px;
    box-shadow: -3px 3px 18px rgba(255, 107, 53, 0.6);
}

/* Quote Modal Popup */
.quote-modal {
    display: none !important;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    animation: fadeIn 0.3s ease;
}

.quote-modal.show {
    display: flex !important;
    align-items: center;
    justify-content: center;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.quote-modal-content {
    background: #ffffff;
    border-radius: 20px;
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: slideUp 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 20px 60px rgba(32, 69, 134, 0.3);
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.quote-modal-close {
    position: absolute;
    right: 20px;
    top: 20px;
    width: 40px;
    height: 40px;
    border: none;
    background: #f8f9fa;
    color: #666;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: all 0.3s ease;
    z-index: 1;
}

.quote-modal-close:hover {
    background: #204586;
    color: #ffffff;
    transform: rotate(90deg);
}

/* Professional Modal Content - Matching tour-sidebar.blade.php */
.quote-modal-content .enquiry-widget-box {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
}

.quote-modal-content .widget-header {
    background: linear-gradient(135deg, #204586 0%, #1a3666 100%);
    color: #ffffff;
    text-align: center;
    padding: 35px 30px;
    position: relative;
    overflow: hidden;
}

.quote-modal-content .widget-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 10px,
        rgba(255, 255, 255, 0.05) 10px,
        rgba(255, 255, 255, 0.05) 20px
    );
    animation: shimmer 20s linear infinite;
    pointer-events: none;
}

@keyframes shimmer {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.quote-modal-content .widget-header i {
    font-size: 48px;
    margin-bottom: 15px;
    display: block;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.quote-modal-content .widget-header h5 {
    margin: 0;
    font-size: 28px;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.quote-modal-content .enquiry-form-modern {
    padding: 35px 30px;
}

.quote-modal-content .enquiry-form-modern .form-group {
    margin-bottom: 20px;
}

.quote-modal-content .enquiry-form-modern .form-control {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.quote-modal-content .enquiry-form-modern .form-control:focus {
    outline: none;
    border-color: #204586;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(32, 69, 134, 0.1);
}

.quote-modal-content .enquiry-form-modern .form-control::placeholder {
    color: #999;
}

.quote-modal-content .enquiry-form-modern select.form-control {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 12px center;
    background-repeat: no-repeat;
    background-size: 16px;
}

.quote-modal-content .enquiry-form-modern .submit-btn {
    width: 100%;
    padding: 16px 25px;
    background: linear-gradient(135deg, #204586 0%, #1a3666 100%);
    color: #ffffff;
    border: none;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.quote-modal-content .enquiry-form-modern .submit-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transition: all 0.6s ease;
    transform: translate(-50%, -50%);
}

.quote-modal-content .enquiry-form-modern .submit-btn:hover::before {
    width: 400px;
    height: 400px;
}

.quote-modal-content .enquiry-form-modern .submit-btn:hover {
    background: linear-gradient(135deg, #1a3666 0%, #0f2347 100%);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(32, 69, 134, 0.4);
}

.quote-modal-content .enquiry-form-modern .submit-btn:active {
    transform: translateY(-1px);
}

.quote-modal-content .enquiry-form-modern .submit-btn i {
    font-size: 18px;
    position: relative;
    z-index: 1;
}

.quote-modal-content .enquiry-form-modern .submit-btn span {
    position: relative;
    z-index: 1;
}

/* Success/Error Messages */
.quote-modal-content .alert {
    padding: 14px 18px;
    border-radius: 12px;
    margin-bottom: 20px;
    border: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.quote-modal-content .alert-success {
    background: #d4edda;
    color: #155724;
    border-left: 4px solid #28a745;
}

.quote-modal-content .alert-danger {
    background: #f8d7da;
    color: #721c24;
    border-left: 4px solid #dc3545;
}

.quote-modal-content .alert .btn-close {
    margin-left: auto;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .sticky-side-buttons {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        top: auto;
        transform: none;
        flex-direction: row;
        gap: 0;
        width: 100%;
        z-index: 9999;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        border-top: 1px solid rgba(0, 0, 0, 0.1);
        padding: 10px;
        box-shadow: 0 -2px 20px rgba(0, 0, 0, 0.1);
    }
    
    .sticky-btn {
        flex: 1;
        width: auto;
        height: 50px;
        padding: 8px 15px;
        flex-direction: row;
        gap: 10px;
        border-radius: 25px;
        margin: 0 5px;
        justify-content: center;
        align-items: center;
    }
    
    .sticky-btn i {
        font-size: 20px;
        margin-bottom: 0;
    }
    
    .sticky-btn .btn-text {
        writing-mode: initial;
        text-orientation: initial;
        font-size: 14px;
        letter-spacing: 1px;
        font-weight: 600;
        white-space: nowrap;
    }
    
    .sticky-btn:hover {
        width: auto;
        transform: translateY(-2px);
    }
    
    .quote-modal-content {
        width: 95%;
        margin: 10px;
        max-height: 85vh;
    }
    
    .quote-modal-content .widget-header {
        padding: 28px 25px;
    }
    
    .quote-modal-content .widget-header h5 {
        font-size: 24px;
    }
    
    .quote-modal-content .widget-header i {
        font-size: 40px;
    }
    
    .quote-modal-content .enquiry-form-modern {
        padding: 28px 25px;
    }
    
    .quote-modal-close {
        right: 15px;
        top: 15px;
        width: 35px;
        height: 35px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .sticky-side-buttons {
        padding: 8px;
    }
    
    .sticky-btn {
        height: 45px;
        padding: 6px 12px;
        gap: 8px;
        margin: 0 3px;
    }
    
    .sticky-btn i {
        font-size: 18px;
    }
    
    .sticky-btn .btn-text {
        font-size: 12px;
        font-weight: 600;
    }
    
    .sticky-btn:hover {
        width: auto;
    }
    
    .quote-modal-content .widget-header i {
        font-size: 36px;
    }
    
    .quote-modal-content .widget-header h5 {
        font-size: 22px;
    }
    
    .quote-modal-content .enquiry-form-modern {
        padding: 25px 20px;
    }
}

/* Smooth scrollbar for modal */
.quote-modal-content::-webkit-scrollbar {
    width: 6px;
}

.quote-modal-content::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.quote-modal-content::-webkit-scrollbar-thumb {
    background: #204586;
    border-radius: 10px;
}

.quote-modal-content::-webkit-scrollbar-thumb:hover {
    background: #1a3666;
}