/* Sales Enquiry */

.mil-p-120-0 {
    padding-top: 30px;
    padding-bottom: 0;
}

@media screen and (max-width: 992px) {
    .mil-p-120-0 {
        padding-top: 60px;
        padding-bottom: 0;
    }

}

.form-box {
    max-width: 800px;
    padding: 20px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
    margin: 110px auto 30px auto;
}

.form-heading {
    text-align: center;
    margin-bottom: 20px;
    font-size: 1.6rem;
    color: black;
}

.form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-item {
    display: flex;
    flex-direction: column;
}

.form-box label {
    margin-bottom: 8px;
    font-weight: bold;
    color: #01358d;
}

.form-box input,
.form-box select,
.form-box textarea,
.form-box button {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
}

#service option:hover {
    background-color: #FF156E;
    /* Set background color on hover */
    color: white;
    /* Set text color on hover */
}

.form-box textarea {
    padding: 20px 10px;
    resize: vertical;
}

::placeholder {
    font-family: var(--heading-font);
}

::-ms-input-placeholder {
    font-family: var(--heading-font);
}

.message {
    padding: 10px;
}

.enquiry-btn {
    cursor: pointer;
    font-size: 1rem;
    background: #001BB7;
    color: #fff;
}

.enquiry-btn:hover {
    background: #0c3f7c;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-box textarea[readonly] {
    background-color: #f5f5f5;
    cursor: not-allowed;
}

/* Responsive Design */
@media (max-width: 768px) {
    .form-box {
        padding: 20px;
        margin: 40px 20px 30px 20px;
    }

    .form-heading {
        font-size: 1.4rem;
    }

    .form-box input,
    .form-box select,
    .form-box textarea,
    .form-box button {
        font-size: 0.9rem;
    }

    .form-grid {
        grid-template-columns: 1fr;
        /* Stack the inputs vertically on smaller screens */
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .form-box {
        margin: 40px 10px 30px 10px;
        padding: 20px;
    }

    .form-heading {
        font-size: 1rem;
    }

    .form-box label {
        font-size: 0.9rem;
    }

    .form-box input,
    .form-box select,
    .form-box textarea,
    .form-box button {
        font-size: 0.8rem;
        padding: 8px;
    }
}

.phone-input {
    display: flex;
    align-items: center;
    /* Center vertically */
}

#countryCodes {
    padding: 8px;
    width: 100px;
    /* Adjust the width of the select box */
    border-radius: 4px;
    font-size: 14px;
}

.contact-divider {
    width: 1px;
    /* Line width */
    height: 30px;
    /* Adjust height to match the input */
    background-color: #ccc;
    /* Line color */
    margin: 0 10px;
    /* Space between the select and input */
}

#phoneNumber {
    padding: 8px;
    width: 250px;
    /* Adjust the width of the input box */
    border-radius: 4px;
    font-size: 14px;
}

#phoneNumber::placeholder {
    color: #aaa;
}

#email {
    padding: 8px;
    width: 100%;
    border-radius: 4px;
    font-size: 14px;
}
#customer-id {
    padding: 8px;
    width: 100%;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
}
#email::placeholder {
    color: #aaa;
}

/* Submit Ticket */

.form-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    /* Ensures the forms are spaced side by side */
    gap: 20px;
    /* Adjust the space between the forms */
    margin: 20px;
}

.login-section {
    width: 42%;
    /* Smaller width for login form */
    padding: 10px 20px;
    /* Reduce padding for height adjustment (top/bottom padding reduced) */
    border: 1px solid #ddd;
    border-radius: 5px;
    box-sizing: border-box;
    margin-top: 15%;
    /* Space above the form */
    margin-left: 8%;
    /* Adds space to the left, pushing the form to the right */
    height: 40;
    /* Allow height to adjust based on content */
    max-height: 440px;
    /* Optional: Set a max-height if you want to limit the height */

}

.login-section h2 {
    font-size: 20px;
    font-weight: bold;
    color: black;
    margin-bottom: 10px;
    margin-top: 12%;
    text-align: center;

}

.login-section input {
    width: 100%;
    padding: 12px;
    margin: 5px 0;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
}

.login-section input[type="checkbox"] {
    width: auto;
    margin-right: 5px;
}

.login-section label,
.ticket-section label {
    color: #97a1b2;
    font-size: 14px;
}

.login-section .remember-me {
    display: flex;
    align-items: center;
    margin: 10px 0;
}

.lost-password {
    text-align: center;
    display: block;
    margin-bottom: 15px;
    color: #01358D;
    font-size: 14px;
}

.login-section .login-btn {
    background: #001BB7;
    color: #fff;
    padding: 12px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    width: 100%;
    font-weight: bold;
}

.login-section .login-btn:hover {
    background: #0c3f7c;
}

.ticket-section {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 50px 56px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 1200px;
    margin-top: 15%;
}

.ticket-section h2 {
    font-size: 22px;
    margin-bottom: 10px;
    color: black;
}

.ticket-section hr {
    margin: 10px 0 20px;
    border: 1px solid #ddd;
}

.ticket-section p {
    margin-bottom: 44px;
    font-size: 14px;
}

.big-checkbox {
    width: 15px;
    height: 15px;
    cursor: pointer;
}

.checkbox-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 5px 15px;
}

.form-check {
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    /* keep text in one line */
}

.form-check-label {
    margin-top: 4px;
}
.single-accordion .card-body-enquiry {
  padding: 21px 71px 23px 37px;
  font-size: var(--body-font-size);
  line-height: var(--line-height30);
  letter-spacing: 0.3px;
}
/* Section Heading with Line */
.section-heading-container {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.section-heading {
    font-size: 16px;
    font-weight: bold;
    color: #01358D;
    margin-right: 10px;
}

.horizontal-line {
    flex-grow: 1;
    height: 1px;
    background-color: #ddd;
}


/* Form Fields */
.enquiry-form-group {
    margin: 15px 0;
}

.enquiry-form-group label,
.form-group-contact label {
    display: block;
    font-weight: medium;
    margin-bottom: 5px;
}

.enquiry-form-group input[type="text"],
.enquiry-form-group input[type="email"],
.enquiry-form-group input[type="tel"],
.enquiry-form-group textarea,
.enquiry-form-group select {
    width: 100%;
    padding: 10px;
    font-size: 0.8rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
}

.enquiry-form-group textarea {
    resize: vertical;
}

.enquiry-form-group input:focus,
.enquiry-form-group textarea:focus,
.enquiry-form-group select:focus {
    outline: none;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.3);
}


.phone-input-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.number-input {
    display: flex;
    width: 100%;
}

.number-input #countryCodes {
    flex-shrink: 0;
    width: 35%;
    padding: 0 5px;
    border: none;
    height: 70px;
    font-family: "Sora", sans-serif;
    border-bottom: solid 2px rgba(18, 24, 32, 0.1);
}

.number-input #number {
    padding: 0 10px;
}

.form-group-contact {
    display: flex;
    flex-direction: column;
    margin: 15px 0;
    align-items: start;
    font-family: "Syne", sans-serif;
}

.countryCodes {
    width: 30%;
    padding: 10px;
}

#phoneNumber {
    flex-grow: 1;
    /* Allow the input to grow within the container */
    padding: 12px;
    border: 1px solid #ddd;
    font-size: 14px;
    height: 42px;
    /* Ensure consistent height */
    width: 100%;
    /* Expand the input field */
    max-width: 250px;
    /* Restrict the width to fit the layout */
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
}

/* Styling for Attach Files Section */
.attach-files-group {
    margin-bottom: 20px;
}

.attach-files-group label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
}

.attach-files-group input[type="file"] {
    width: 100%;
    /* Set to 100% to take up full width */
    max-width: 1200px;
    /* Restrict maximum width */
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ddd;
    border-radius: 6px;
    cursor: pointer;
}

.attach-files-group input[type="file"]::-webkit-file-upload-button {
    padding: 10px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}

/* Submit Button */
.previous-btn {
    background-color: rgb(34, 33, 29);
    color: #fff;
    padding: 12px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    width: 180px;
    /* Increased button width */


}

.ticket-submit-btn {
    background: #001BB7;
    color: #fff;
    padding: 12px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    width: 180px;
    /* Increased button width */
    /* Ensure the button behaves like a block-level element */
}

.buttons {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.horizontal-line {
    flex-grow: 1;
    height: 1px;
    background-color: #ddd;
}

/* Scoped styles for the Submit Ticket form */
/* Scoped styles for the Submit Ticket form */
.submit-ticket-form {
    width: 20%;
    margin-top: 15%;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 60px 80px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 1200px;
    margin-right: 8%;
    margin-bottom: 50px;
}

.submit-ticket-form h2 {
    font-size: 20px;
    font-weight: bold;
    color: black;
    margin-bottom: 10px;
    margin-top: -2%;
}

.submit-ticket-form p {
    font-size: 14px;
    color: #8a8080;
    margin-bottom: 20px;
    margin-top: 2%;
}

.submit-ticket-form fieldset {
    border: none;
    padding: 0;
    margin-bottom: 20px;
}

.submit-ticket-form legend {
    font-size: 18px;
    font-weight: bold;
    color: #01358D;
    margin-bottom: 2%;
}

.submit-ticket-form label {
    font-size: 14px;
    color: #01358D;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.submit-ticket-form .note {
    font-size: 14px;
    color: #666;
    margin-top: 10px;
    font-style: italic;
}

.submit-ticket-form .btn-next {
    background: #001BB7;
    color: #fff;
    padding: 10px 26px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
    margin-left: 90%;
}

.submit-ticket-form .btn-next:hover {
    background: #0c3f7c;
}

.submit-ticket-form hr {
    border: none;
    /* Removes the default border style */
    height: 2px;
    /* Thickness of the line */
    background-color: #cfc2c5;
    /* Custom color */
    margin: 10px 0;
    /* Adjust spacing around the line */
    width: 100%;
    /* Adjusts the width of the line */
    margin-left: auto;
    margin-right: auto;
    /* Centers the line horizontally */
}

@media (max-width:1024px) {

    .login-section {
        width: 75%;
        padding: 40px 20px;
    }

    .login-section h2 {
        margin-top: 0;
    }

    .ticket-section {
        margin: 0;
    }

    .form-container {
        margin-top: 10%;
        flex-direction: column;
        align-items: center;
    }
    /* .form-box{
        margin: 60px auto 30px auto;
    } */

}

@media (max-width: 992px) {
    .form-container {
        flex-direction: column;
    }

    .login-section {
        margin-left: 0;
        width: 100%;
    }

    .submit-ticket-form {
        margin-top: 0;
        padding: 30px;
    }

    .submit-ticket-form .btn-next {
        margin-left: 0;
    }

    .ticket-section {
        padding: 30px;
    }

    .enquiry-form-group {
        flex-direction: column;
        gap: 0.75rem;
        align-items: start;
    }

    .enquiry-form-group input {
        width: 100%;
    }

    .enquiry-form-group select {
        width: 100%;
    }

    .enquiry-form-group textarea {
        width: 100%;
    }

    .section-heading {
        font-size: 18px;
    }

    .form-group-contact {
        flex-direction: column;
        gap: 0.75rem;
        align-items: start;
    }

    .buttons {
        gap: 2rem;
    }
    .submit-ticket-form {
        margin-right: 0%;
    }
    
}