/* =============================================
   Quotations Module Styles
   ============================================= */

.quotations-page {
    animation: fadeIn 0.3s ease-in;
}

.quotation-history {
    background: var(--bg-main);
    border: 1px solid var(--border-color);
    scrollbar-width: thin;
}

.quotation-history::-webkit-scrollbar {
    width: 6px;
}

.quotation-history::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 10px;
}

/* Status Colors for Badges (Specific to Quotations) */
.badge.bg-info.text-white {
    background: var(--gradient-info) !important;
}

.badge.bg-warning.text-dark {
    background: var(--gradient-warning) !important;
    color: white !important;
}

.badge.bg-success {
    background: var(--gradient-success) !important;
}

.badge.bg-danger {
    background: var(--gradient-danger) !important;
}

/* Modal Specifics */
#quotationFormModal .modal-header {
    background: var(--gradient-primary) !important;
    border: none;
}

#quotationFormModal .form-label {
    color: var(--text-secondary);
    margin-bottom: 0.25rem;
}

#quotationFormModal .form-control:disabled,
#quotationFormModal .form-select:disabled {
    background: rgba(255, 255, 255, 0.05);
    border-color: transparent;
    color: var(--text-muted);
}

.quotation-item-row:hover {
    background: rgba(246, 133, 31, 0.05);
}

/* Conversion Animation */
@keyframes convertSuccess {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
        background: var(--success);
    }

    100% {
        transform: scale(1);
    }
}

.convert-active {
    animation: convertSuccess 0.5s ease-in-out;
}