/* =============================================
   INQUIRY MODAL STYLES - Add to styles.css
   ============================================= */

/* Floating Inquiry Button */
.inquiry-fab {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.8rem;
}

.inquiry-fab-btn {
    background: linear-gradient(135deg, #02b8f1, #4facfe);
    color: #fff;
    border: none;
    padding: 1rem 1.5rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(2, 184, 241, 0.5);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    animation: pulse-btn 2s infinite;
}

.inquiry-fab-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(2, 184, 241, 0.7);
}

@keyframes pulse-btn {
    0%, 100% { box-shadow: 0 8px 25px rgba(2, 184, 241, 0.5); }
    50% { box-shadow: 0 8px 35px rgba(2, 184, 241, 0.8); }
}

/* Modal Overlay */
.inquiry-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    backdrop-filter: blur(4px);
}

.inquiry-overlay.open {
    display: flex;
}

/* Modal Box */
.inquiry-modal {
    background: #1a1a1a;
    border: 1px solid rgba(2, 184, 241, 0.3);
    border-radius: 20px;
    padding: 2.5rem;
    width: 100%;
    max-width: 520px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: modal-in 0.3s ease;
}

@keyframes modal-in {
    from { opacity: 0; transform: scale(0.9) translateY(20px); }
    to   { opacity: 1; transform: scale(1) translateY(0); }
}

.inquiry-modal::-webkit-scrollbar { width: 4px; }
.inquiry-modal::-webkit-scrollbar-thumb { background: #02b8f1; border-radius: 2px; }

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255,255,255,0.1);
    border: none;
    color: #fff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.modal-close:hover { background: rgba(239,68,68,0.3); }

.modal-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.4rem;
}

.modal-subtitle {
    color: #9ca3af;
    font-size: 0.9rem;
    margin-bottom: 1.8rem;
}

/* Category Tabs inside modal */
.modal-cats {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.modal-cat-btn {
    padding: 0.4rem 1rem;
    border-radius: 20px;
    border: 1px solid rgba(2,184,241,0.3);
    background: transparent;
    color: #9ca3af;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.2s;
}

.modal-cat-btn.active {
    background: linear-gradient(135deg, #02b8f1, #4facfe);
    color: #fff;
    border-color: transparent;
}

/* Form Fields */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    color: #9ca3af;
    font-size: 0.85rem;
    margin-bottom: 0.4rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(2,184,241,0.2);
    border-radius: 8px;
    color: #fff;
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.2s;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #02b8f1;
}

.form-group select option { background: #1a1a1a; }
.form-group textarea { resize: vertical; min-height: 80px; }

/* Dynamic fields */
.dynamic-field { display: none; }
.dynamic-field.show { display: block; }

/* Submit Button */
.modal-submit {
    width: 100%;
    padding: 0.9rem;
    background: linear-gradient(135deg, #02b8f1, #4facfe);
    border: none;
    border-radius: 10px;
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    margin-top: 0.5rem;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.modal-submit:hover { opacity: 0.9; transform: translateY(-1px); }
.modal-submit:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

/* Success / Error messages */
.form-msg {
    display: none;
    padding: 0.9rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    margin-top: 1rem;
    text-align: center;
}

.form-msg.success {
    display: block;
    background: rgba(16,185,129,0.15);
    border: 1px solid rgba(16,185,129,0.3);
    color: #10b981;
}

.form-msg.error {
    display: block;
    background: rgba(239,68,68,0.15);
    border: 1px solid rgba(239,68,68,0.3);
    color: #ef4444;
}

@media (max-width: 480px) {
    .inquiry-modal { padding: 1.5rem; }
    .form-row { grid-template-columns: 1fr; }
    .inquiry-fab-btn span { display: none; }
    .inquiry-fab-btn { padding: 1rem; border-radius: 50%; }
}
