/* =========================================================
   Aurex Cargo AU — REQUEST A QUOTE form styles (demo2)
   Depends on aurex-common.css (sections, buttons, cta-band, page-banner).
   ========================================================= */
.page-banner.has-custom-bg::before { background-image: var(--banner-pc); }
@media (max-width: 991px) {
    .page-banner.has-custom-bg::before { background-image: var(--banner-tb, var(--banner-pc)); }
}
@media (max-width: 640px) {
    .page-banner.has-custom-bg::before { background-image: var(--banner-mb, var(--banner-pc)); }
}

.quote-form { max-width: 860px; margin: 30px auto 0; }

.inq-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 24px; }
.inq-form input, .inq-form textarea {
    width: 100%; padding: 13px 16px; border: 1px solid #dde3e6; background: #f6f8f9;
    font-family: 'Open Sans', sans-serif; font-size: 14px; color: var(--ink);
}
.inq-form input:focus, .inq-form textarea:focus { outline: none; border-color: var(--blue); background: #fff; }
.inq-form .full { grid-column: 1 / -1; }
.inq-form textarea { min-height: 130px; resize: vertical; }

.inq-form select {
    width: 100%; padding: 13px 16px; border: 1px solid #dde3e6; background-color: #f6f8f9;
    font-family: 'Open Sans', sans-serif; font-size: 14px; color: var(--ink); cursor: pointer;
    appearance: none; -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%236F727B'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 15px center; background-size: 10px;
}
.inq-form select:focus { outline: none; border-color: var(--blue); background-color: #fff; }

.inq-form .inq-field { position: relative; display: block; }
.inq-form .inq-field input { padding-right: 26px; }
.inq-form .req-star {
    position: absolute; top: 50%; right: 13px; transform: translateY(-50%);
    color: #e02b2b; font-weight: 700; font-size: 15px; line-height: 1;
    pointer-events: none;
}

/* Section legends */
.form-legend {
    grid-column: 1 / -1;
    display: flex; align-items: center; gap: 10px;
    font-family: 'Oswald', sans-serif; text-transform: uppercase; letter-spacing: 1px;
    font-size: 15px; font-weight: 600; color: var(--blue-deep);
    margin: 16px 0 2px; padding-bottom: 10px; border-bottom: 2px solid var(--gold);
}
.form-legend:first-child { margin-top: 0; }
.form-legend i { color: var(--gold); font-size: 15px; }

/* Consent checkbox */
.inq-check {
    grid-column: 1 / -1;
    display: flex; align-items: center; gap: 10px;
    font-size: 13px; color: #666; cursor: pointer; line-height: 1.5;
}
.inq-check input { position: absolute; opacity: 0; width: 0; height: 0; }
.inq-check .cbox {
    flex: 0 0 auto;
    width: 20px; height: 20px; border-radius: 5px;
    border: 2px solid #c3ccd1; background: #fff;
    display: grid; place-items: center;
    transition: background .25s ease, border-color .25s ease;
}
.inq-check .cbox svg { width: 13px; height: 13px; fill: none; stroke: #fff; stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; }
.inq-check .cbox svg path { stroke-dasharray: 26; stroke-dashoffset: 26; transition: stroke-dashoffset .3s ease .05s; }
.inq-check input:checked + .cbox { background: var(--blue); border-color: var(--blue); animation: cbPop .32s ease; }
.inq-check input:checked + .cbox svg path { stroke-dashoffset: 0; }
.inq-check input:focus-visible + .cbox { box-shadow: 0 0 0 3px rgba(4,95,128,.25); }
.inq-check .cb-text { flex: 1; }
@keyframes cbPop { 0% { transform: scale(1); } 40% { transform: scale(1.18); } 100% { transform: scale(1); } }

/* File field label */
.file-field { display: flex; flex-direction: column; gap: 10px; }
.file-label { font-size: 13.5px; color: #555; font-weight: 600; }
.file-label i { color: var(--gold); margin-right: 6px; }
.file-label span { color: #8a8f96; font-weight: 400; }

/* Drag & drop upload zone */
.dropzone {
    position: relative;
    display: flex; align-items: center; gap: 16px;
    padding: 16px 18px;
    border: 1.5px dashed #cdd6db; border-radius: 12px;
    background: #f7f9fa; cursor: pointer;
    transition: border-color .3s ease, background-color .3s ease, box-shadow .3s ease;
}
.dropzone input[type=file] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.dropzone:hover, .dropzone:focus-within { border-color: var(--blue); background-color: #f2f7f9; box-shadow: 0 12px 26px -22px rgba(4,95,128,.55); }
.dropzone.is-drag { border-color: var(--gold); border-style: solid; background-color: #fffaef; box-shadow: 0 14px 30px -20px rgba(245,182,28,.55); }
.dz-icon {
    flex: none; width: 46px; height: 46px; border-radius: 50%;
    display: grid; place-items: center;
    background: rgba(4,95,128,.08); color: var(--blue); font-size: 19px;
    transition: transform .3s ease, background-color .3s ease, color .3s ease;
}
.dropzone:hover .dz-icon { transform: translateY(-2px); }
.dropzone.is-drag .dz-icon { background: var(--gold); color: var(--blue-deep); transform: scale(1.06); }
.dz-text { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 2px; text-align: left; }
.dz-main { font-size: 14.5px; color: var(--ink); font-weight: 600; }
.dz-hint { font-size: 12.5px; color: #99a0a6; }
.dz-browse-btn {
    flex: none; display: inline-flex; align-items: center; gap: 7px;
    padding: 10px 20px; border-radius: 8px;
    background: var(--blue); color: #fff;
    font-family: 'Oswald', sans-serif; text-transform: uppercase; letter-spacing: .5px;
    font-size: 13px; font-weight: 600;
    transition: background-color .3s ease, transform .3s ease, box-shadow .3s ease;
}
.dropzone:hover .dz-browse-btn { background: var(--blue-dark); transform: translateY(-1px); box-shadow: 0 8px 18px -8px rgba(4,95,128,.6); }
.dropzone.is-drag .dz-browse-btn { background: var(--gold); color: var(--blue-deep); }
@media (max-width: 560px) {
    .dropzone { flex-wrap: wrap; }
    .dz-browse-btn { flex: 1 1 100%; justify-content: center; }
}

/* Selected files */
.dz-files { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.dz-files:empty { display: none; }
.dz-file {
    display: flex; align-items: center; gap: 12px; padding: 10px 12px;
    background: #fff; border: 1px solid #e4e9ec; border-radius: 8px;
    animation: dzIn .28s ease both;
}
.df-ico { flex: none; width: 34px; height: 34px; border-radius: 7px; display: grid; place-items: center; background: rgba(4,95,128,.08); color: var(--blue); font-size: 14px; }
.df-meta { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; }
.df-name { font-size: 13.5px; color: var(--ink); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.df-size { font-size: 12px; color: #99a0a6; }
.df-remove {
    flex: none; width: 26px; height: 26px; border-radius: 50%;
    border: 0; background: #f1f3f5; color: #8a8f96; cursor: pointer;
    display: grid; place-items: center; font-size: 12px;
    transition: background-color .2s ease, color .2s ease;
}
.df-remove:hover { background: #ffe3e3; color: #e03131; }
@keyframes dzIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* reCAPTCHA spacing */
.quote-captcha { margin-top: 8px; }

/* Form feedback — light aurex style (not Bootstrap alert) */
.q-feedback {
    display: none;
    margin-top: 2px;
    padding: 12px 16px;
    border-radius: 8px;
    border-left: 3px solid transparent;
    font-size: 13.5px;
    line-height: 1.5;
    animation: qfIn .28s ease both;
}
.q-feedback.is-show { display: block; }
.q-feedback.is-error {
    background: #fdf2f2;
    border-left-color: #e03131;
    color: #b42318;
}
.q-feedback.is-success {
    background: #eef6f9;
    border-left-color: var(--blue);
    color: var(--blue-deep);
}
@keyframes qfIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

@media (max-width: 991px) {
    .inq-form { grid-template-columns: 1fr; }
}
