#quote-modal.modal {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, .6);
    z-index: 1000
}

#quote-modal .modal-content {
    background: #fff;
    position: relative;
    width: 90%;
    max-width: 760px;
    border-radius: 6px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .3);
    padding: 0;
    overflow: visible;
}

#quote-modal .modal-close {
    position: absolute;
    right: 0;
    top: 0;
    transform: translate(50%, -50%);
    background: #c3d100;
    border: none;
    padding: 1rem;
    border-radius: 100%;
    line-height: 0;
    aspect-ratio: 1/1;
    display: block;
    color: #001659;
    cursor: pointer;
    z-index: 1010;
}

#quote-modal .modal-body {
    overflow: auto;
    max-height: 90vh;
}

#quote-modal .wrap {
    padding: 1.2rem
}

#quote-modal .hero {
    padding: 2rem;
}

#quote-modal .hero h1 {
    margin: 0 0 .25rem;
    text-align: center;
}

#quote-modal .hero p {
    text-align: center;
}

#quote-modal button[type="submit"] {
    background-color: var(--color-accent);
    padding: .5rem 1rem;
    border: none;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.15);
    margin-top: 1rem;
    cursor: pointer;
}

#quote-modal .privacy {
    font-size: 0.875rem;
    color: #666;
}

#quote-modal .actions {
    display: flex;
    justify-content: flex-end;
    padding: .75rem 0;
    flex-direction: column;
}

#quote-modal form input,
#quote-modal form textarea {
    width: 100%;
    padding: .5rem;
    border: 1px solid #ddd;
    border-radius: 4px
}

/* Visually indicate readonly (non-editable) inputs in the quote modal */
#quote-modal form input[readonly],
#quote-modal form textarea[readonly] {
    background-color: #f5f5f5;
    color: #666;
    cursor: not-allowed;
    border-color: #e0e0e0;
}

#quote-modal .grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .75rem
}

#quote-modal .grid .full {
    grid-column: 1/-1
}

#quote-modal label {
    box-shadow: none;
    padding: 0;
    background-color: initial;
    border: 0;
    margin-bottom: .5rem;
    flex-direction: row;
    gap: 5px;
    justify-content: start;
    align-items: start;
}

@media(max-width:640px) {
    #quote-modal .grid {
        grid-template-columns: 1fr
    }
}

#request-quote .required {
    color: red;
    padding: 0;
}