/* Rental product form */
.trinity-rental-form {
    margin-top: -20px;
}
.trinity-rental-form-section{
	    padding-top: 10px;
}
.trinity-rental-total{
    font-size: 22px;
    font-weight: 600;
    color: black;
}
.trinity-rental-calculation{
    padding-top: 10px;

}

.trinity-rental-quantity-selector, .add_to_rental_cart {
    display: flex;
}



.add_to_rental_cart {
    margin-top: 20px;
}

.trinity-rental-quantity {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.trinity-rental-quantity-adjust {
    display: flex;
    align-items: center;
}

.trinity-rental-quantity-minus,
.trinity-rental-quantity-plus {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 52px;
    background-color: #f0f0f0;
    border: 1px solid #ddd;
    cursor: pointer;
    user-select: none;
}

.trinity-rental-quantity-minus {
    border-radius: 4px 0 0 4px;
}

.trinity-rental-quantity-plus {
    border-radius: 0 4px 4px 0;
}
.add_to_rental_cart .trinity-rental-quantity-selector .rental-quantity {
    width: 100px!important;
    height: 52px;
    text-align: center;
    border: 1px solid #ddd;
    border-left: none;
    border-right: none;
}

.add_to_rental_cart .trinity-rental-add-to-cart.button.alt {
    padding: 12px 20px 10px;
    background: #f36c20;
    border: solid 1px #ffffff;
    cursor: pointer;
    font-weight: bold;
    height: 52px;
    width: 300px;
    border-radius: 30px;
    margin-left: 20px;
	color: white;
    transition: background 0.3s ease; 
}
.add_to_rental_cart .trinity-rental-add-to-cart.button.alt:hover {
    background: #e65b1a; 
}


.trinity-rental-add-to-cart:hover {
    background-color: #a7a7a7;
}

.trinity-rental-add-to-cart:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
}

/* Toast notification */
.trinity-rental-toast {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    visibility: hidden;
    min-width: 250px;
    max-width: 350px;
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out, visibility 0.3s ease-in-out;
}

.trinity-rental-toast.show {
    visibility: visible;
    transform: translateX(0);
}

.trinity-rental-toast-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    margin-bottom: 8px;
}

.trinity-rental-toast-content.success {
    background-color: #202124;
    color: white;
}

.trinity-rental-toast-content.error {
    background-color: #f44336;
    color: white;
}

.trinity-rental-toast-message {
    flex: 1;
    padding-right: 10px;
    word-break: break-word;
}

.trinity-rental-toast-close {
    background: transparent;
    border: none;
    color: currentColor;
    font-size: 20px;
    cursor: pointer;
    opacity: 0.7;
}

.trinity-rental-toast-close:hover {
    opacity: 1;
}

/* Go to cart link */
.trinity-rental-go-to-cart-wrapper {
    margin-top: 15px;
    margin-left: 20px;
}

.trinity-rental-go-to-cart {
    display: inline-block;
    color: #f36c20;
    text-decoration: underline;
    font-weight: 500;
}

.trinity-rental-go-to-cart:hover {
    color: #45a049;
}

/* Cart icon */
.trinity-rental-cart-icon-wrapper {
    position: relative;
    display: inline-block;
    margin: 10px;
}

.trinity-rental-cart-icon {
    display: flex;
    position: relative;
}

.trinity-rental-cart-icon img {
    width: 30px;
    height: 30px;
}

.trinity-rental-cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    background-color: #f36c20;
    color: white;
    border-radius: 50%;
    font-size: 10px;
    font-weight: bold;
}

/* Rental cart page */
.trinity-rental-cart-container {
    margin: 0 auto;
    padding: 20px;
}

.trinity-rental-grid {
    display: flex;
    column-gap: 20px;
}

.trinity-rental-cart-items, .trinity-rental-form-container {
    width: 100%;
    border: solid 1px #dbdbdb;
    border-radius: 10px;
    padding: 30px;
}

.trinity-rental-cart-item-header {
    display: flex;
    justify-content: space-between;
}

.trinity-rental-cart-item-header h3 {
    font-size: 16px;
    font-weight: 500;
}

.trinity-rental-cart-item {
    display: flex;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.trinity-rental-cart-item-image {
    width: 80px;
    margin-right: 15px;
}

.trinity-rental-cart-item-image img {
    max-width: 100%;
    height: auto;
}

.trinity-rental-cart-item-details {
    flex: 1;
}

.trinity-rental-cart-item-name {
    font-weight: bold;
    margin-bottom: 5px;
}

.trinity-rental-cart-item-price {
    color: #666;
    margin-bottom: 5px;
    margin-right: 10px;
}

.trinity-rental-cart-item-quantity {
    display: flex;
    align-items: center;
    margin: 0;
}

.trinity-rental-form-checkbox {
    display: flex;
    align-items: center;
}

.trinity-rental-form-row {
    display: flex;
    justify-content: space-between;
    column-gap: 20px;
}

.trinity-rental-form-row .trinity-rental-form-field {
    width: 100%;
}

.trinity-rental-cart-item-quantity span {
    margin: 0 10px;
    min-width: 20px;
    text-align: center;
}

.trinity-rental-calculation h3 {
    font-size: 16px;
    font-weight: 700;
	    padding-top: 20px!important;
}

#trinity-rental-request-form h3 {
    font-size: 18px;
    border-left: solid 2px #FF8000;
    padding-left: 20px;
    margin-bottom: 5px;
    margin-top: 15px;
}

#trinity-rental-submit  {
    width: 100%;
    height: 52px;
    border-radius: 30px;
    background: #f36c20;
    border: solid 1px #ffffff;
    margin-top: 20px;
    COLOR: WHITE;
}
#trinity-rental-submit:hover {
    background: #e65b1a; /* slightly darker orange */
}

.trinity-rental-calculation-box {
    background: #f3f3f3;
    border-radius: 10px;
    padding: 20px;
}

.trinity-rental-remove-item {
    cursor: pointer;
    height: 24px!important;
    width: 24px!important;
    border-radius: 22px!important;
    min-height: 24px!important;
    padding: 0!important;
}

.trinity-rental-price-wrapper {
    display: flex;
    flex-direction: row;
    margin-top: -10px;
    margin-left: 10px;
}

.trinity-rental-badge {
    background-color: #f1f5f9;
    color: #333;
    padding-left: 10px;
    padding-right: 10px;
    border-radius: 10px;
}

.trinity-rental-cart-totals {
    margin-top: 30px;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 4px;
}

.trinity-rental-cart-item-list .trinity-rental-quantity-minus,
.trinity-rental-cart-item-list .trinity-rental-quantity-plus {
    height: 24px;
    width: 24px;
    border-radius: 12px;
    background: #fff;
    border: solid 1px #f3f3f3;
    min-height: 24px!important;
    padding: 0;
}

.trinity-rental-cart-totals-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.trinity-rental-cart-grand-total {
    font-weight: bold;
    font-size: 1.2em;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #ddd;
}

/* Customer form */
.trinity-rental-customer-form {
    margin-top: 30px;
}

.trinity-rental-form-group {
    margin-bottom: 15px;
}

.trinity-rental-form-group label {
    display: block;
    margin-bottom: 5px;
}

.trinity-rental-form-group input,
.trinity-rental-form-group textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.trinity-rental-date-fields {
    display: flex;
    gap: 15px;
}

.trinity-rental-date-fields .trinity-rental-form-group {
    flex: 1;
}

.hidden {
    display: none;
}

.trinity-rental-submit {
    margin-top: 20px;
    padding: 12px 24px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
}

.trinity-rental-submit:hover {
    background-color: #45a049;
}

.trinity-rental-processing {
    display: none;
    margin-top: 20px;
    text-align: center;
}
