/* WhatsApp Quote Styles for WordPress */
.quotation-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 9998;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.quotation-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.quotation-modal-content {
    background: #1a1a2e;
    border-radius: 15px;
    padding: 2rem;
    max-width: 500px;
    width: 90%;
    border: 1px solid rgba(0, 212, 255, 0.3);
    box-shadow: 0 20px 60px rgba(0, 212, 255, 0.3);
    animation: slideUp 0.3s ease;
}

body.light-theme .quotation-modal-content {
    background: #ffffff;
    border-color: rgba(102, 126, 234, 0.3);
    box-shadow: 0 20px 60px rgba(102, 126, 234, 0.2);
}

@keyframes slideUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.quotation-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.quotation-modal-title {
    color: #00d4ff;
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0;
}

body.light-theme .quotation-modal-title {
    color: #667eea;
}

.quotation-modal-close {
    background: none;
    border: none;
    color: #a0aec0;
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.3s ease;
    padding: 0;
}

.quotation-modal-close:hover {
    color: #e0e0e0;
}

.quotation-details {
    background: rgba(0, 212, 255, 0.05);
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    border-left: 3px solid #00d4ff;
}

body.light-theme .quotation-details {
    background: rgba(102, 126, 234, 0.05);
    border-left-color: #667eea;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.detail-label {
    color: #a0aec0;
}

body.light-theme .detail-label {
    color: #4a5568;
}

.detail-value {
    color: #00d4ff;
    font-weight: 600;
}

body.light-theme .detail-value {
    color: #667eea;
}

.quotation-message {
    background: rgba(0, 0, 0, 0.3);
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(0, 212, 255, 0.2);
}

body.light-theme .quotation-message {
    background: rgba(0, 0, 0, 0.05);
    border-color: rgba(102, 126, 234, 0.2);
}

.quotation-message-label {
    color: #a0aec0;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
    display: block;
}

body.light-theme .quotation-message-label {
    color: #4a5568;
}

.quotation-message-text {
    color: #e0e0e0;
    font-family: monospace;
    font-size: 0.85rem;
    line-height: 1.5;
    word-wrap: break-word;
}

body.light-theme .quotation-message-text {
    color: #2d3748;
}

.quotation-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.quotation-btn {
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.quotation-btn.primary {
    background: linear-gradient(135deg, #00d4ff, #667eea);
    color: white;
}

.quotation-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 212, 255, 0.4);
}

.quotation-btn.secondary {
    background: transparent;
    color: #a0aec0;
    border: 2px solid rgba(0, 212, 255, 0.3);
}

body.light-theme .quotation-btn.secondary {
    color: #4a5568;
    border-color: rgba(102, 126, 234, 0.3);
}

.quotation-btn.secondary:hover {
    background: rgba(0, 212, 255, 0.1);
    border-color: rgba(0, 212, 255, 0.5);
}

/* Mobile */
@media (max-width: 640px) {
    .quotation-modal-content {
        width: 95%;
        padding: 1.5rem;
    }

    .quotation-buttons {
        grid-template-columns: 1fr;
    }
}
