.tnz-modal-open {
overflow: hidden;
position: fixed;
width: 100%;
} #tnz-quote-modal,
#tnz-quote-modal * {
font-family: inherit;
}
#tnz-quote-modal input,
#tnz-quote-modal textarea,
#tnz-quote-modal select,
#tnz-quote-modal button {
font-family: inherit;
}
.tnz-quote-modal {
position: fixed;
inset: 0;
z-index: 9999;
display: none;
align-items: center;
justify-content: center;
}
.tnz-quote-modal.is-open {
display: flex;
}
.tnz-modal-backdrop {
position: absolute;
inset: 0;
background: rgba(15, 23, 42, 0.55);
backdrop-filter: blur(2px);
}
#tnz-quote-modal .tnz-modal-dialog,
.tnz-modal-dialog {
position: relative;
margin: 0 16px;
max-width: 980px;
width: 100%;
max-height: 90vh;
background: #ffffff;
border-radius: 12px;
box-shadow: 0 24px 80px rgba(15, 23, 42, 0.4);
overflow: hidden;
display: flex;
flex-direction: column;
padding: 10px;
box-sizing: border-box;
}
.tnz-modal-close {
position: absolute;
top: 12px;
right: 12px;
width: 32px;
height: 32px;
border-radius: 999px;
border: none;
background: rgba(15, 23, 42, 0.06);
cursor: pointer;
font-size: 20px;
line-height: 1;
}
.tnz-modal-grid {
display: grid;
grid-template-columns: minmax(0, 0.35fr) minmax(0, 0.65fr);
gap: 10px;
height: 100%;
}
.tnz-modal-side {
position: relative;
background-color: #111827;
color: #ffffff;
padding: 0;
display: block;
background-position: center;
background-repeat: no-repeat;
background-size: cover;
box-sizing: border-box;
overflow: hidden;
border-top-left-radius: 12px;
border-bottom-left-radius: 12px;
border-top-right-radius: 0;
border-bottom-right-radius: 0;
}
.tnz-modal-side-text {
position: absolute;
left: 10px;
right: 10px;
top: 40px;
bottom: auto;
font-size: 14px;
text-align: center;
z-index: 2;
background: linear-gradient(to bottom, rgba(0,0,0,0.55), rgba(0,0,0,0.25));
padding: 18px 14px 16px;
border-radius: 10px;
}
.tnz-modal-title {
margin: 0;
font-size: 34px;
line-height: 1.05;
font-weight: 800;
color: #ffffff;
}
.tnz-modal-subtitle {
margin: 10px 0 0;
font-size: 18px;
font-weight: 700;
color: #ffffff;
}
.tnz-modal-side-text::after {
content: "";
display: block;
width: 140px;
height: 4px;
margin: 14px auto 0;
background: #fed700;
border-radius: 999px;
}
.tnz-modal-main {
padding: 0;
overflow-y: auto;
box-sizing: border-box;
} #tnz-quote-modal .tnz-modal-main {
padding-top: 30px;
padding-bottom: 30px;
box-sizing: border-box;
} #tnz-quote-modal .tnz-modal-close {
position: absolute;
top: 14px;
right: 14px;
width: 36px;
height: 36px;
display: flex;
align-items: center;
justify-content: center;
border-radius: 999px;
border: 1px solid rgba(15,23,42,0.10);
background: rgba(255,255,255,0.9);
color: #111827;
cursor: pointer;
padding: 0;
line-height: 1;
}
#tnz-quote-modal .tnz-modal-close:hover {
background: #ffffff;
border-color: rgba(15,23,42,0.18);
}
#tnz-quote-modal .tnz-modal-close:focus {
outline: none;
box-shadow: none;
}
.tnz-quote-form {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 16px 16px;
}
.tnz-form-row {
display: flex;
flex-direction: column;
gap: 4px;
}
.tnz-quote-form input[type="text"],
.tnz-quote-form input[type="email"],
.tnz-quote-form input[type="tel"],
.tnz-quote-form input[type="file"],
.tnz-quote-form textarea {
border-radius: 6px;
border: 1px solid #d1d5db;
padding: 8px 10px;
font-size: 14px;
width: 100%;
} #tnz-quote-modal input[type="text"],
#tnz-quote-modal input[type="email"],
#tnz-quote-modal input[type="tel"],
#tnz-quote-modal input[type="search"],
#tnz-quote-modal input[type="file"],
#tnz-quote-modal textarea,
#tnz-quote-modal select {
outline: none;
box-shadow: none;
} #tnz-quote-modal input[type="text"]:focus,
#tnz-quote-modal input[type="email"]:focus,
#tnz-quote-modal input[type="tel"]:focus,
#tnz-quote-modal input[type="search"]:focus,
#tnz-quote-modal input[type="file"]:focus,
#tnz-quote-modal textarea:focus,
#tnz-quote-modal select:focus {
outline: none;
box-shadow: none;
border-color: #cbd5e1;
} #tnz-quote-modal input:focus-visible,
#tnz-quote-modal textarea:focus-visible,
#tnz-quote-modal select:focus-visible {
outline: none;
box-shadow: none;
}
.tnz-quote-form textarea {
resize: vertical;
}
.tnz-form-row--privacy {
grid-column: 1 / -1;
} .tnz-form-row--name,
.tnz-form-row--location,
.tnz-form-row--message,
.tnz-form-row--file {
grid-column: 1 / -1;
}
.tnz-checkbox {
display: flex;
align-items: flex-start;
gap: 8px;
font-size: 13px;
}
.tnz-checkbox input[type="checkbox"] {
margin-top: 2px;
}
.tnz-form-actions {
grid-column: 1 / -1;
display: flex;
align-items: center;
gap: 16px;
margin-top: 4px;
}
.tnz-btn.tnz-btn--primary {
background-color: #fed700;
color: #111827;
border-radius: 999px;
border: none;
padding: 10px 22px;
font-weight: 600;
cursor: pointer;
display: inline-flex;
align-items: center;
justify-content: center;
font-size: 14px;
}
.tnz-btn.tnz-btn--primary.is-loading {
opacity: 0.75;
cursor: wait;
}
.tnz-form-status {
font-size: 13px;
}
.tnz-form-status--error {
color: #b91c1c;
}
.tnz-form-status--success {
color: #047857;
}
.tnz-field-error {
border-color: #b91c1c !important;
}
@media (max-width: 900px) {
#tnz-quote-modal .tnz-modal-dialog,
.tnz-modal-dialog {
max-width: 96%;
}
}
@media (max-width: 768px) {
#tnz-quote-modal .tnz-modal-dialog,
.tnz-modal-dialog {
max-height: 100vh;
border-radius: 0;
}
.tnz-modal-grid {
grid-template-columns: 1fr;
}
.tnz-modal-side {
padding: 0;
border-top-left-radius: 12px;
border-top-right-radius: 12px;
border-bottom-left-radius: 0;
border-bottom-right-radius: 0;
}
.tnz-modal-main {
padding: 0;
}
.tnz-quote-form {
grid-template-columns: 1fr;
}
} @media (max-height: 700px) {
#tnz-quote-modal .tnz-modal-dialog {
max-height: 95vh;
margin-top: 10px;
margin-bottom: 10px;
}
}