/* ============================================
   PRODUCT INQUIRY FORM CSS - SEPARATE FILE
   ============================================ */

/* Product Inquiry Box */
.product-inquiry-box {
    background: #ffffff;
    border-radius: 10px;
    padding: 15px ;
    margin: 30px 0;
    border: 1px solid #e1e8ed;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border-left: 5px solid #2c5aa0;
    position: relative;
    overflow: hidden;
}

.product-inquiry-box:before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, rgba(44, 90, 160, 0.1) 0%, transparent 70%);
    border-radius: 0 0 0 100%;
}

/* Header */
.inquiry-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eef2f7;
}

.inquiry-header i {
    font-size: 48px;
    color: #2c5aa0;
    margin-bottom: 15px;
    display: inline-block;
    background: rgba(44, 90, 160, 0.1);
    width: 80px;
    height: 80px;
    line-height: 80px;
    border-radius: 50%;
}

.inquiry-header h3 {
    color: #2c5aa0;
    font-size: 24px;
    margin: 15px 0 10px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.inquiry-header p {
    color: #666;
    font-size: 16px;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

/* Product Info Summary */
.product-info-summary {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
    border: 1px solid #e2e8f0;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.product-info-item {
    flex: 1;
    min-width: 200px;
    padding: 10px 15px;
    background: white;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
}

.product-info-item strong {
    color: #2c5aa0;
    font-weight: 600;
    display: inline-block;
    min-width: 70px;
}

/* Form Grid */
.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 25px;
}

/* Form Groups */
.form-group,
.form-group-full {
    margin-bottom: 20px;
    position: relative;
}

.form-group label,
.form-group-full label {
    display: block;
    margin-bottom: 10px;
    color: #333;
    font-weight: 600;
    font-size: 15px;
    position: relative;
    padding-left: 5px;
}

.form-group label:after,
.form-group-full label:after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    /*width: 3px;*/
    /*height: 100%;*/
    /*background: #2c5aa0;*/
    border-radius: 2px;
}

.required {
    color: #e53e3e;
    font-weight: bold;
}

/* Form Inputs */
.product-inquiry-form-only input,
.product-inquiry-form-only select,
.product-inquiry-form-only textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.3s ease;
    background: #fff;
    color: #333;
    font-family: inherit;
}

.product-inquiry-form-only input:focus,
.product-inquiry-form-only select:focus,
.product-inquiry-form-only textarea:focus {
    border-color: #2c5aa0;
    outline: none;
    box-shadow: 0 0 0 3px rgba(44, 90, 160, 0.15);
    background: #fff;
}

.product-inquiry-form-only input.field-error,
.product-inquiry-form-only select.field-error,
.product-inquiry-form-only textarea.field-error {
    border-color: #e53e3e;
    background: #fff5f5;
}

.product-inquiry-form-only select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%232c5aa0' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14L2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 45px;
}

.product-inquiry-form-only textarea {
    resize: vertical;
    min-height: 120px;
}

/* Error Messages */
.error-msg {
    color: #e53e3e;
    font-size: 13px;
    margin-top: 6px;
    min-height: 20px;
    font-weight: 500;
    padding-left: 5px;
}

/* Quantity Field */
.form-quantity {
    margin: 5px 0;
    max-width: 50%;
    background: #f8fafc;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.form-quantity label {
    display: block;
    margin-bottom: 10px;
    color: #2c5aa0;
    font-weight: 600;
}

.form-quantity input {
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    color: #2c5aa0;
}

/* Submit Button */
.form-submit-area {
    /*margin-top: 30px;*/
    text-align: center;
    padding-top: 10px;
    border-top: 1px solid #eef2f7;
}

.product-inquiry-submit {
    background: linear-gradient(135deg, #2c5aa0 0%, #1a3a6b 100%);
    color: white;
    border: none;
    padding: 16px 40px;
    border-radius: 8px;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 220px;
    box-shadow: 0 4px 12px rgba(44, 90, 160, 0.25);
    position: relative;
    overflow: hidden;
}

.product-inquiry-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: 0.5s;
}

.product-inquiry-submit:hover {
    background: linear-gradient(135deg, #1a3a6b 0%, #2c5aa0 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(44, 90, 160, 0.35);
}

.product-inquiry-submit:hover:before {
    left: 100%;
}

.product-inquiry-submit:active {
    transform: translateY(-1px);
}

.product-inquiry-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none !important;
}

/* Response Messages */
.form-response {
    /*margin-top: 20px;*/
    padding: 5px;
    border-radius: 8px;
    font-size: 15px;
    text-align: center;
    animation: slideIn 0.3s ease;
}

.form-response.success {
    background: linear-gradient(135deg, #f0fff4 0%, #e6fffa 100%);
    color: #22543d;
    border: 1px solid #9ae6b4;
}

.form-response.error {
    background: linear-gradient(135deg, #fff5f5 0%, #fed7d7 100%);
    color: #742a2a;
    border: 1px solid #fc8181;
}

/* Footer Note */
.form-footer-note {
    /*margin-top: 25px;*/
    padding-top: 20px;
    border-top: 1px solid #eef2f7;
    text-align: center;
    color: #666;
    font-size: 14px;
    font-style: italic;
}

.form-footer-note p {
    margin: 0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.form-grid{display: initial; }
.prodct{ padding:15px 0px; display: inline;}
.prodct .frt{float:left; width:48%;  margin:0px 1%;}
.prodct .frt input{ width:100%; border: solid 1px #ddd; background:#fff;  box-shadow:inherit;}
.prodct .frt select{ width:100%; border: solid 1px #ddd; background:#fff;  box-shadow:inherit;}
.prodct .frt label{ width:100%;margin-bottom: 0px; }
.prodct .frt .error-msg{margin-bottom: 0px;margin-top: 0px;
  min-height: 10px;}
.prodct .frt textarea{ width:100%; order: solid 1px #ddd; background:#fff; height:120px; box-shadow:inherit;}
.prodct .frt button{background:#111184; color:#fff;}
.prodct .form-response{margin-top: 0px;
  padding: 5px;}
 .prodct .form-group, .form-group-full{margin-bottom: 0px;}
.frts .error-msg{margin-bottom: 0px;margin-top: 0px;
  min-height: 10px;}
/* Animations */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 992px) {
    .product-inquiry-box {
        padding: 25px;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .product-info-summary {
        flex-direction: column;
    }
    
    .product-info-item {
        min-width: 100%;
    }
}

@media (max-width: 768px) {
    .product-inquiry-box {
        padding: 20px;
        margin: 30px 0;
    }
    
    .inquiry-header h3 {
        font-size: 20px;
    }
    
    .inquiry-header p {
        font-size: 14px;
    }
    
    .product-inquiry-submit {
        width: 100%;
        min-width: auto;
        padding: 14px 20px;
    }
    
    .form-quantity {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .product-inquiry-box {
        padding: 15px;
        border-radius: 8px;
    }
    
    .product-inquiry-form-only input,
    .product-inquiry-form-only select,
    .product-inquiry-form-only textarea {
        padding: 12px 14px;
        font-size: 14px;
    }
    
    .product-inquiry-submit {
        font-size: 16px;
    }
}

/* Print Styles */
@media print {
    .product-inquiry-box {
        border: 1px solid #ccc;
        box-shadow: none;
        page-break-inside: avoid;
    }
    
    .product-inquiry-submit,
    .form-response {
        display: none;
    }
}