.container {
    max-width: 1389px;
    margin: 40px auto;
    padding: 0 20px;
}


        .form-group input, .form-group select, .form-group textarea {
    width: 843px;
    padding: 12px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    background: #E9EAEE;
    transition: all 0.3s ease;
}
.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #081035;
    font-size: 16px;
}

.section-header img {
        background: white;
    width: 24px;
    height: 24px;
    padding: 2px;
    margin-left: 10px;
    border-radius: 4px;
}
input#answer-link {
    width: 582px;
}

.section-header h2 {
    font-size: 24px; /* Adjusted font size */
    color: #333;
    margin: 0;
    font-weight: bold;
}

/* Form Styling */
.order-form .form-group {
    margin-bottom: 25px;
    text-align: right;
}

.order-form label {
    display: flex;
    align-items: center;
    font-size: 15px;
    color: #333;
    margin-bottom: 10px;
    font-weight: 500;
}

.order-form label::before {
    content: '•';
    color: #081035;
    font-size: 20px;
    margin-left: 8px;
    line-height: 0;
}

.order-form input[type="text"], .order-form input[type="number"] {
    width: 352px;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 12px;
    font-size: 15px;
    box-sizing: border-box;
    text-align: right;
    background-color: #E9EAEE;
    color: #333;
    height: 48px;
}

#answer-title {
    width: 352px;
}

#payable-amount {
    width: 352px;
}

.order-form input[type="text"]::placeholder,
.order-form input[type="number"]::placeholder {
    color: #aaa;
}

.order-form input[readonly] {
    background-color: #E9EAEE;
    cursor: default;
    border: 1px solid #E0E0E0; /* Added border */
}

/* Input with spinner buttons */
.input-with-spinner {
    width: 352px;
    display: flex;
    overflow: hidden;
    height: 48px;
    background-color: #E9EAEE;
    border-radius: 12px;
    border: 1px solid #ddd;
}

.input-with-spinner input {
    flex-grow: 1;
    border: none;
    padding: 12px 15px;
    font-size: 15px;
    text-align: right;
    background-color: transparent;
    color: #333;
    height: 100%; /* Make input fill the height */
}

.input-with-spinner .spinner-buttons {
    display: flex;
    flex-direction: column;
    border-left: 1px solid #ddd;
    height: 100%; /* Make buttons fill the height */
}

.input-with-spinner .spinner-buttons button {
      background-color: #E92A2A;
    border: none;
    padding: 0 12px;
    cursor: pointer;
    /* border-radius: 0px 0px 0px 7px; */
    font-size: 13px;
    color: #ffffff;
    transition: background-color 0.2s;
    height: 50%;
    margin-right: -10px;
    display: flex
;
    align-items: center;
    justify-content: center;
}

.input-with-spinner .spinner-buttons button:hover {
    background-color: #d0d0d0; /* Darker grey on hover */
}

.input-with-spinner .spinner-buttons button:first-child {
    border-bottom: 1px solid #ddd;
}

.spinner-up::before {
    content: '▲';
}

.spinner-down::before {
    content: '▼';
}

/* Submit Button */
.submit-button {
        display: flex
;
    align-items: center;
    justify-content: center;
    width: 343px;
    padding: 15px 20px;
    height: 48px;
    background-color: #E92A2A;
    color: #fff;
    border: none;
    border-radius: 9px;
    font-size: 16px;
    margin: 0px auto;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 30px;
    font-weight: 500;
}

.submit-button:hover {
    background-color: #d02020; /* Darker red on hover */
}

.submit-button img {
    width: 24px;
    height: 19px;
    margin-left: 10px;
    margin-right: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .container {
        margin: 20px auto;
        padding: 0 15px;
    }
    .section-header h2 {
        font-size: 20px;
    }

    .order-form input[type="text"],
    .order-form input[type="number"] {
        padding: 10px 12px;
        font-size: 14px;
        height: 40px; /* Adjusted height for mobile */
    }

    .input-with-spinner {
        height: 40px; /* Adjusted height for mobile */
    }

    .submit-button {
        padding: 12px 15px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .order-form input[type="text"], .order-form input[type="number"] {
    width: 100%;
}
    .container {
        margin: 10px auto;
        padding: 0 10px;
    }
input#answer-link {
    width: 100%;
}
input#payable-amount{
    width: 343px;
}

    .special-order-section {
        padding: 0px;
    }

    .section-header img {
        width: 20px;
        height: 20px;
    }

    .section-header h2 {
        font-size: 18px;
    }

    .order-form label {
        font-size: 13px;
    }

    .order-form input[type="text"],
    .order-form input[type="number"] {
        font-size: 13px;
        height: 35px; /* Further adjusted height for smaller mobile */
    }

    .input-with-spinner {
        height: 35px; /* Further adjusted height for smaller mobile */
    }

    .input-with-spinner input {
        font-size: 13px;
    }

    .submit-button {
        font-size: 15px;
    }
}
