/* Box Packaging Quote Form Styles */
.box-packaging-quote-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

.quote-header {
    text-align: center;
    margin-bottom: 40px;
}

.quote-icon {
    font-size: 50px;
    color: #f45305;
    margin-bottom: 15px;
    display: block;
}

.quote-title {
    color: #f45305;
    font-size: 32px;
    margin: 0 0 10px 0;
    padding: 0;
}

.quote-description {
    color: #666;
    margin: 0;
    font-size: 18px;
}

.form-section {
    margin-bottom: 40px;
    border: 1px solid #eee;
    padding: 25px;
    border-radius: 8px;
    background-color: #fafafa;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.section-title {
    margin-top: 0;
    color: #333;
    font-size: 20px;
    font-weight: 600;
    padding-bottom: 15px;
    border-bottom: 2px solid #f45305;
    margin-bottom: 25px;
}

.section-title i {
    color: #f45305;
    margin-right: 10px;
}

.box-packaging-quote-form {
    display: block;
    width: 100%;
}

.form-row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px 20px;
}

.form-group {
    padding: 0 15px;
    margin-bottom: 20px;
}

.col-1-3 {
    width: 33.33%;
}

.full-width {
    width: 100%;
}

label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 500;
}

label i {
    color: #f45305;
    margin-right: 8px;
    width: 18px;
    text-align: center;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
select,
textarea {
    width: 100%;
    padding: 14px 15px;
    border: 2px solid #ddd;
    border-radius: 6px;
    background-color: #fff;
    font-size: 16px;
    color: #333;
    transition: all 0.3s;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05);
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="number"]:focus,
select:focus,
textarea:focus {
    border-color: #f45305;
    box-shadow: 0 0 0 3px rgba(244, 83, 5, 0.2);
    outline: none;
}

input[type="text"]::placeholder,
input[type="email"]::placeholder,
input[type="tel"]::placeholder,
input[type="number"]::placeholder,
textarea::placeholder {
    color: #aaa;
}

.file-upload-wrapper {
    position: relative;
    border: 2px dashed #ddd;
    border-radius: 8px;
    padding: 40px 20px;
    text-align: center;
    background-color: #fff;
    transition: all 0.3s;
    cursor: pointer;
}

.file-upload-wrapper:hover {
    border-color: #f45305;
    background-color: rgba(244, 83, 5, 0.03);
}

.upload-icon {
    font-size: 50px;
    color: #f45305;
    margin-bottom: 15px;
    display: block;
}

.upload-message {
    font-size: 18px;
    margin-bottom: 8px;
    color: #666;
}

.file-upload-info {
    font-size: 14px;
    color: #888;
}

input[type="file"] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.submit-button {
    background-color: #f45305;
    color: white;
    border: none;
    padding: 16px 40px;
    font-size: 18px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 600;
    display: block;
    margin: 30px auto 0;
    box-shadow: 0 4px 12px rgba(244, 83, 5, 0.3);
}

.submit-button:hover {
    background-color: #d64500;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(244, 83, 5, 0.4);
}

.submit-button i {
    margin-right: 10px;
}

.required {
    color: #f45305;
}

.required-note {
    font-size: 14px;
    color: #777;
    margin: 0 0 15px;
    text-align: center;
}

.quote-message {
    display: flex;
    align-items: center;
    padding: 25px 30px;
    border-radius: 8px;
    margin-bottom: 30px;
    display: none;
}

.message-icon {
    font-size: 40px;
    margin-right: 20px;
}

.message-content {
    flex: 1;
}

.message-content h3 {
    margin-top: 0;
    margin-bottom: 10px;
}

.message-content p {
    margin: 0;
}

.quote-success {
    background-color: #e7f7ee;
    border-left: 4px solid #28a745;
}

.quote-success .message-icon {
    color: #28a745;
}

.quote-error {
    background-color: #ffeaea;
    border-left: 4px solid #dc3545;
}

.quote-error .message-icon {
    color: #dc3545;
}

/* Responsive Design */
@media (max-width: 992px) {
    .col-1-3 {
        width: 50%;
    }
}

@media (max-width: 768px) {
    .form-row {
        display: block;
        margin: 0;
    }
    
    .form-group,
    .col-1-3 {
        width: 100%;
        padding: 0;
    }
    
    .box-packaging-quote-container {
        padding: 20px;
    }
    
    .quote-message {
        flex-direction: column;
        text-align: center;
    }
    
    .message-icon {
        margin-right: 0;
        margin-bottom: 15px;
    }
}