/* Price Offer Modal Styles - Professional Black & Gray Design */
.price-offer-modal {
    font-family: 'Cairo', sans-serif;
}

.price-offer-modal .modal-dialog {
    max-width: 900px;
}

.price-offer-modal .modal-content {
    border: none;
    border-radius: 15px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.25);
    background: #ffffff;
}

.price-offer-modal .modal-header {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 50%, #000000 100%);
    color: white;
    border-radius: 15px 15px 0 0;
    padding: 30px 35px;
    border: none;
    position: relative;
    overflow: hidden;
}

.price-offer-modal .modal-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255,255,255,0.1) 0%, transparent 50%, rgba(255,255,255,0.05) 100%);
    pointer-events: none;
}

.price-offer-modal .modal-title {
    font-size: 1.6rem;
    font-weight: 700;
    position: relative;
    z-index: 1;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.price-offer-modal .btn-close {
    filter: invert(1);
    opacity: 0.8;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.price-offer-modal .btn-close:hover {
    opacity: 1;
    transform: scale(1.1);
}

.price-offer-modal .modal-body {
    padding: 35px;
    background: #fafafa;
}

.price-offer-modal .section-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 3px solid #e0e0e0;
    position: relative;
    display: flex;
    align-items: center;
}

.price-offer-modal .section-title::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(135deg, #000000 0%, #404040 100%);
}

.price-offer-modal .section-title i {
    margin-left: 12px;
    color: #000000;
    font-size: 1.4rem;
}

.price-offer-modal .form-label {
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 10px;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.price-offer-modal .form-control {
    border: 2px solid #d0d0d0;
    border-radius: 10px;
    padding: 15px 18px;
    font-size: 15px;
    transition: all 0.3s ease;
    background: #ffffff;
    color: #1a1a1a;
}

.price-offer-modal .form-control:focus {
    border-color: #000000;
    box-shadow: 0 0 0 0.25rem rgba(0, 0, 0, 0.15);
    background: #ffffff;
    color: #1a1a1a;
}

.price-offer-modal .form-control::placeholder {
    color: #808080;
}

.price-offer-modal .input-group-text {
    background: #f0f0f0;
    border: 2px solid #d0d0d0;
    border-left: none;
    color: #404040;
    font-weight: 600;
    border-radius: 0 10px 10px 0;
}

.price-offer-modal .contact-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.price-offer-modal .contact-btn {
    padding: 15px 25px;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    min-height: 55px;
}

.price-offer-modal .contact-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.price-offer-modal .contact-btn:hover::before {
    left: 100%;
}

.price-offer-modal .btn-whatsapp {
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.price-offer-modal .btn-whatsapp:hover {
    background: linear-gradient(135deg, #128c7e 0%, #075e54 100%);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

.price-offer-modal .btn-sms {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}

.price-offer-modal .btn-sms:hover {
    background: linear-gradient(135deg, #0056b3 0%, #004085 100%);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.4);
}

.price-offer-modal .btn-email {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(220, 53, 69, 0.3);
}

.price-offer-modal .btn-email:hover {
    background: linear-gradient(135deg, #c82333 0%, #a71e2a 100%);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(220, 53, 69, 0.4);
}

.price-offer-modal .btn-pdf {
    background: linear-gradient(135deg, #28a745 0%, #218838 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
    border: none;
    cursor: pointer;
}

.price-offer-modal .btn-pdf:hover {
    background: linear-gradient(135deg, #218838 0%, #1e7e34 100%);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.4);
}

.price-offer-modal .modal-footer {
    background: #f8f8f8;
    border-top: 2px solid #e0e0e0;
    padding: 25px 35px;
    border-radius: 0 0 15px 15px;
    display: flex;
    justify-content: flex-end;
    gap: 15px;
}

.price-offer-modal .btn-submit {
    background: linear-gradient(135deg, #000000 0%, #404040 100%);
    border: none;
    padding: 15px 35px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.3s ease;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.price-offer-modal .btn-submit::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.price-offer-modal .btn-submit:hover::before {
    left: 100%;
}

.price-offer-modal .btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    background: linear-gradient(135deg, #404040 0%, #000000 100%);
}

.price-offer-modal .btn-secondary {
    background: linear-gradient(135deg, #6c757d 0%, #5a6268 100%);
    border: none;
    padding: 15px 30px;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
    color: white;
    box-shadow: 0 4px 15px rgba(108, 117, 125, 0.3);
}

.price-offer-modal .btn-secondary:hover {
    background: linear-gradient(135deg, #5a6268 0%, #495057 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(108, 117, 125, 0.4);
}

.price-offer-modal .info-card {
    background: #ffffff;
    border: 2px solid #e0e0e0;
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.price-offer-modal .info-card:hover {
    border-color: #000000;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.price-offer-modal .info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

.price-offer-modal .info-item:last-child {
    border-bottom: none;
}

.price-offer-modal .info-item:hover {
    background: #f8f8f8;
    padding-left: 10px;
    padding-right: 10px;
    border-radius: 8px;
}

.price-offer-modal .info-label {
    font-weight: 700;
    color: #1a1a1a;
    font-size: 0.95rem;
}

.price-offer-modal .info-value {
    color: #404040;
    text-align: left;
    font-weight: 500;
}

.price-offer-modal .company-info h6 {
    color: white;
    margin-bottom: 20px;
    font-weight: 700;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.price-offer-modal .company-info .form-control {
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: #000000;
    font-weight: 600;
    font-size: 16px;
    text-align: center;
}

.price-offer-modal .company-info .form-control::placeholder {
    color: #666666;
}

.price-offer-modal .company-info .form-control:focus {
    background: rgba(255, 255, 255, 1);
    border-color: rgba(255, 255, 255, 0.8);
    color: #000000;
    box-shadow: 0 0 0 0.25rem rgba(255, 255, 255, 0.25);
}

/* Payment Terms Styles */
.price-offer-modal .payment-term-item {
    display: inline-block;
    padding: 10px 15px;
    margin: 3px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    background: linear-gradient(135deg, #1a1a1a 0%, #404040 100%);
    color: white;
    border: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.price-offer-modal .payment-term-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transition: left 0.3s;
}

.price-offer-modal .payment-term-item:hover::before {
    left: 100%;
}

.price-offer-modal .payment-term-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    background: linear-gradient(135deg, #404040 0%, #1a1a1a 100%);
}

.price-offer-modal .remove-payment-term {
    background: none;
    border: none;
    color: #dc3545;
    font-size: 12px;
    padding: 0;
    margin-left: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.price-offer-modal .remove-payment-term:hover {
    color: #c82333;
    transform: scale(1.2);
    background: rgba(220, 53, 69, 0.1);
}

.price-offer-modal #payment_term_input {
    border: 2px solid #d0d0d0;
    border-radius: 10px 0 0 10px;
    padding: 15px 18px;
    font-size: 15px;
    transition: all 0.3s ease;
    background: #ffffff;
}

.price-offer-modal #payment_term_input:focus {
    border-color: #000000;
    box-shadow: 0 0 0 0.25rem rgba(0, 0, 0, 0.15);
}

.price-offer-modal .input-group .btn-primary {
    background: linear-gradient(135deg, #000000 0%, #404040 100%);
    border: none;
    border-radius: 0 10px 10px 0;
    padding: 15px 20px;
    font-weight: 700;
    color: white;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.price-offer-modal .input-group .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    background: linear-gradient(135deg, #404040 0%, #000000 100%);
}

/* Loading Animation */
.price-offer-modal .loading {
    display: none;
    text-align: center;
    padding: 30px;
}

.price-offer-modal .spinner-border {
    width: 2.5rem;
    height: 2.5rem;
    color: #000000;
}

/* Alert Styles */
.price-offer-modal .alert {
    border-radius: 12px;
    border: none;
    padding: 20px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.price-offer-modal .alert-success {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    color: #155724;
    border-left: 5px solid #28a745;
}

/* Responsive Design */
@media (max-width: 768px) {
    .price-offer-modal .modal-dialog {
        margin: 15px;
    }
    
    .price-offer-modal .modal-body {
        padding: 25px;
    }
    
    .price-offer-modal .contact-buttons {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .price-offer-modal .contact-btn {
        min-height: 50px;
        font-size: 14px;
    }
    
    .price-offer-modal .modal-footer {
        flex-direction: column;
        gap: 10px;
    }
    
    .price-offer-modal .btn-submit,
    .price-offer-modal .btn-secondary {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .price-offer-modal .modal-header {
        padding: 20px 25px;
    }
    
    .price-offer-modal .modal-title {
        font-size: 1.4rem;
    }
    
    .price-offer-modal .section-title {
        font-size: 1.2rem;
    }
    
    .price-offer-modal .info-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .price-offer-modal .info-value {
        text-align: right;
    }
} 