/* Support Floating Menu - Design */

.support-float-wrapper {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 15px;
}

/* Main Toggle Button */
.support-main-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #e85a4f; /* Primary Color */
    color: #fff;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(232, 90, 79, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    padding: 0;
}

.support-main-btn:hover {
    transform: scale(1.1);
    background: #d44e44;
}

.support-main-btn .icon-wrapper {
    position: relative;
    width: 24px;
    height: 24px;
}

.support-main-btn .close-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0) rotate(-90deg);
    opacity: 0;
    transition: all 0.3s ease;
}

.support-main-btn .main-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
    transition: all 0.3s ease;
}

/* Active State for Toggle */
.support-float-wrapper.active .support-main-btn {
    background: #333;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.support-float-wrapper.active .main-icon {
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
}

.support-float-wrapper.active .close-icon {
    transform: translate(-50%, -50%) scale(1) rotate(0);
    opacity: 1;
}

/* Menu Items */
.support-menu-items {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
    pointer-events: none;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.support-float-wrapper.active .support-menu-items {
    pointer-events: auto;
    opacity: 1;
    transform: translateY(0);
}

.support-item {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    position: relative;
}

.support-item:hover {
    transform: scale(1.1);
}

.support-item .support-label {
    position: absolute;
    right: 60px;
    background: #333;
    color: #fff;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    transform: translateX(10px);
    transition: all 0.2s ease;
    pointer-events: none;
}

.support-item:hover .support-label {
    opacity: 1;
    transform: translateX(0);
}

.support-item.whatsapp { background: #25D366; }
.support-item.call { background: #3b5998; }
.support-item.enquire { background: #ff9800; }

/* Enquiry Modal Centered */
.support-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: supportFadeIn 0.3s ease;
}

@keyframes supportFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.support-modal {
    background: #fff;
    width: 100%;
    max-width: 450px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transform: scale(0.9);
    animation: supportPopIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes supportPopIn {
    to { transform: scale(1); }
}

.support-modal-header {
    background: #f8f9fa;
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #eee;
}

.support-modal-header h3 {
    margin: 0;
    font-size: 1.25rem;
    color: #333;
    font-weight: 700;
}

.support-modal-close {
    background: none;
    border: none;
    font-size: 24px;
    color: #999;
    cursor: pointer;
    line-height: 1;
    padding: 5px;
    transition: color 0.2s;
}

.support-modal-close:hover {
    color: #e85a4f;
}

.support-modal-form {
    padding: 25px;
}

.support-form-group {
    margin-bottom: 15px;
}

.support-form-group input,
.support-form-group textarea {
    width: 100%;
    padding: 12px 18px;
    border: 2px solid #f0f0f0;
    border-radius: 12px;
    font-size: 14px;
    background: #fafafa;
    transition: all 0.3s ease;
    box-sizing: border-box;
    font-family: inherit;
}

.support-form-group input:focus,
.support-form-group textarea:focus {
    border-color: #e85a4f;
    background: #fff;
    outline: none;
}

.support-form-submit {
    width: 100%;
    padding: 14px;
    background: #e85a4f;
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.support-form-submit:hover {
    background: #d44e44;
    box-shadow: 0 4px 12px rgba(232, 90, 79, 0.3);
}

.support-form-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.support-form-alert {
    display: none;
    padding: 12px;
    border-radius: 10px;
    font-size: 14px;
    margin-bottom: 15px;
    text-align: center;
}

.support-alert-success { background: #e8f5e9; color: #2e7d32; }
.support-alert-error { background: #ffebee; color: #c62828; }

/* Mobile Adjustments */
@media screen and (max-width: 768px) {
    .support-float-wrapper {
        bottom: 80px; /* Above mobile nav */
        right: 20px;
    }
    
    .support-main-btn {
        width: 54px;
        height: 54px;
    }
    
    .support-item {
        width: 44px;
        height: 44px;
    }
    
    .support-item .support-label {
        display: none; /* Hide labels on mobile to save space */
    }
}
