/**
* ECE Rental Quote Form Style
**/


#quotation-container {
    display: flex;
    min-height: calc(100vh - 60px); /* Full height minus header height */
}

#form-section {
    flex: 2;
    padding: 20px;
    overflow-y: auto;
}

#sidebar {
    flex: 1;
    background-color: #F1EBE4 !important;
    padding: 20px;
    position: sticky;
    top: 60px; /* Adjust for header height */
    height: calc(100vh - 60px); /* Full height minus header height */
    margin-right: 80px;
    max-width: 450px;
    border-radius: 12px;
}

#sidebar h3 {
    font-size: 20px;
    margin-bottom: 15px;
    font-family: "Montserrat", Sans-serif;
}

#sidebar p {
    font-size: 14px;
    line-height: 1.6;
    color: #555;
}

.form-section {
    margin-bottom: 40px;
}

.section-title {
    font-size: 24px;
    margin-bottom: 20px;
    font-family: "Montserrat", Sans-serif;
}

.form-group {
    margin-bottom: 15px;
}

.form-group .label {
    font-size: 16px;
    margin-bottom: 5px;
    font-family: "Montserrat", Sans-serif;
}

.date-time-group, .form-group-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.date-time-group div, .form-group-flex div{
    width: 48%;
}
.form-group-flex div{
    width: 95%;
}
#quote-form {
    max-width: 768px;
    margin: 0 auto;
}

#quote-form input #quote-form select {
    padding: 10px;
    font-size: 16px;
    border-radius: 4px;
    border: 1px solid #ccc;
    width: 100%;
    box-sizing: border-box;
}

#quote-form ::placeholder {
    font-family: "Montserrat", Sans-serif;
    color: #aaa;
}

.flatpickr-hour, .flatpickr-minute {
    border: none !important;
}

.form-group-inner {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.form-group-inner div {
    width: 45%
}

.checkbox-group, .radio-group {
    margin-bottom: 10px;
}

.checkbox, .radio {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 20px;
    align-items: center;
}

.checkbox-group input[type="checkbox"], .radio-group input[type="radio"] {
    width: 24px !important;
}


/* Collapsible Item */
.collapsible-item {
    border-radius: 15px;
    margin-bottom: 20px;
    overflow: hidden;
}

.collapsible-header {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    background-color: #F4F1ED;
    cursor: pointer;
}

.chevron-icon {
    font-size: 16px;
    margin-right: 10px;
    transition: transform 0.3s ease;
}


.chevron-icon  svg {
    width: 16px;
    height: 16px;
}


.collapsible-header.open .chevron-icon {
    transform: rotate(180deg); /* Rotate the chevron when open */
}

.collapsible-title {
    flex: 1;
    font-size: 16px;
    font-weight: bold;
    font-family: "Montserrat", Sans-serif;
    color: #0D3749BA;
}

.collapsible-image {
    width: 100px !important;
    height: 80px !important;
    object-fit: cover;
    border-radius: 12px !important;
}


.collapsible-content {
    display: none;
    padding: 15px;
    background-color: #fff;
}

.collapsible-content .grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.collapsible-content .grid-item {
    padding: 10px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: bold;
}


/* Grid Item/Product */


.grid-item {
    font-family: "Montserrat", Sans-serif;
}

.item-title {
    margin-bottom: 0;
    
}

.item-controls {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 15px;
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 3px 5px;
    border: 1px solid #745C54;
}

.item-controls span {
    text-transform: uppercase;
    font-weight: 400;
}

.quantity-controls button {
    border: none;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    border-radius: 5px;
    padding: 0 !important;
    color: #000;

}

.quantity-controls button:hover,
.quantity-controls button:focus {
    color:#000;
    background-color: transparent;
}

.quantity-controls .quantity {
    font-size: 16px;
    font-weight: bold;
    width: 30px;
    text-align: center;
}

.add-button {
    background-color: #745C54;
    color: #fff;
    border: none;
    padding: 5px 10px;
    border-radius: 99px;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
}

.add-button:hover {
    background-color: #0056b3;
}


/** Sidebar **/

#sidebar {
    font-family: "Montserrat", Sans-serif;
}
.sidebar_heading {
    font-size: 24px;
    margin-bottom: 20px;
    font-family: "Montserrat", Sans-serif;
    text-transform: uppercase;
    font-weight: 600;
    color: #0D3749BA;
}

.sidebar__category-title h4 {
    text-transform: uppercase;
    font-weight: 600;
    color: #000;
    font-size: 18px;
}

.sidebar__item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
}
label.required{
    color:red
}


    