/* ── Trigger button on trip page ─────────────────────────────────────── */
.sqr-trigger-btn {
    display: block !important;
    width: 100%;
    padding: 10px 14px;
    background: #EF9F27 !important;
    color: #000 !important;
    border: none;
    border-radius: 7px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    text-align: center;
    text-decoration: none !important;
    box-sizing: border-box;
    font-family: inherit;
    margin-top: 8px;
    transition: background 0.2s;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.sqr-trigger-btn:hover {
    background: #d4891a !important;
    color: #000 !important;
}

/* ── Steps bar ──────────────────────────────────────────────────────── */
.sqr-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 20px 20px;
    gap: 0;
    flex-wrap: wrap;
    row-gap: 12px;
}
.sqr-step {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #aaa;
}
.sqr-step-active { color: #4a5c1a; }
.sqr-step-done   { color: #4a5c1a; }
.sqr-step-num {
    width: 28px; height: 28px;
    border-radius: 50%;
    border: 2px solid #ddd;
    display: flex; align-items: center; justify-content: center;
    font-size: 13px; font-weight: 700;
    background: #fff; color: #aaa;
    flex-shrink: 0;
}
.sqr-step-active .sqr-step-num {
    background: #4a5c1a; color: #fff; border-color: #4a5c1a;
}
.sqr-step-done .sqr-step-num {
    background: #4a5c1a; color: #fff; border-color: #4a5c1a;
}
.sqr-step-line {
    width: 60px; height: 2px; background: #ddd; margin: 0 6px;
}
.sqr-step-line-done { background: #4a5c1a; }

/* ── Page layout ────────────────────────────────────────────────────── */
.sqr-page-wrap {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px 60px;
}
.sqr-page-body {
    display: flex;
    gap: 32px;
    align-items: flex-start;
}
.sqr-form-col  { flex: 1; min-width: 0; }
.sqr-sidebar   { width: 280px; flex-shrink: 0; }

/* ── Package card ───────────────────────────────────────────────────── */
.sqr-package-card {
    display: flex;
    gap: 16px;
    background: #f9f6ed;
    border: 1px solid #e8e3d5;
    border-radius: 10px;
    padding: 16px;
    margin-bottom: 14px;
    align-items: flex-start;
}
.sqr-package-img {
    width: 110px;
    height: 80px;
    object-fit: cover;
    border-radius: 7px;
    flex-shrink: 0;
}
.sqr-package-title {
    margin: 0 0 10px;
    font-size: 16px;
    line-height: 1.4;
}
.sqr-package-title a {
    color: #2d2d2d;
    text-decoration: none;
}
.sqr-package-title a:hover { color: #4a5c1a; }
.sqr-package-meta { display: flex; flex-wrap: wrap; gap: 6px; }
.sqr-badge {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 20px;
    padding: 3px 10px;
    font-size: 12px;
    color: #555;
}

/* ── Free note ──────────────────────────────────────────────────────── */
.sqr-free-note {
    color: #7a5c1e;
    background: #fdf8ed;
    border: 1px solid #e8d9b0;
    border-radius: 7px;
    padding: 10px 14px;
    font-size: 14px;
    margin: 0 0 18px;
}

/* ── Form title ─────────────────────────────────────────────────────── */
.sqr-form-title {
    font-size: 22px;
    color: #2d2d2d;
    margin: 0 0 22px;
}

/* ── Form fields ────────────────────────────────────────────────────── */
.sqr-field { margin-bottom: 18px; }
.sqr-field label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #444;
    margin-bottom: 6px;
}
.sqr-req { color: #c0392b; }
.sqr-field input,
.sqr-field select,
.sqr-field textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #ddd;
    border-radius: 7px;
    font-size: 14px;
    color: #333;
    box-sizing: border-box;
    font-family: inherit;
    background: #fff;
    transition: border-color 0.15s, box-shadow 0.15s;
}
.sqr-field input:focus,
.sqr-field select:focus,
.sqr-field textarea:focus {
    outline: none;
    border-color: #4a5c1a;
    box-shadow: 0 0 0 3px rgba(74,92,26,0.1);
}
.sqr-error { display: block; font-size: 12px; color: #c0392b; margin-top: 4px; }
.sqr-hint  { display: block; font-size: 12px; color: #888; margin-top: 4px; }

/* ── Submit button ──────────────────────────────────────────────────── */
.sqr-submit {
    width: 100%;
    padding: 14px 20px;
    background: #4a5c1a;
    color: #fff;
    border: none;
    border-radius: 7px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
    font-family: inherit;
}
.sqr-submit:hover:not(:disabled) { background: #3a4a13; }
.sqr-submit:disabled { opacity: 0.65; cursor: not-allowed; }
.sqr-terms { font-size: 12px; color: #999; margin-top: 10px; text-align: center; }

/* ── Sidebar ────────────────────────────────────────────────────────── */
.sqr-sidebar-card {
    background: #fff;
    border: 1px solid #e0dbd0;
    border-radius: 10px;
    padding: 22px;
    margin-bottom: 16px;
}
.sqr-sidebar-title {
    font-size: 15px;
    font-weight: 700;
    color: #333;
    margin: 0 0 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #eee;
}
.sqr-sidebar-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 9px 0;
    border-bottom: 1px solid #f0ede4;
    font-size: 13px;
}
.sqr-sidebar-row:last-of-type { border-bottom: none; }
.sqr-sidebar-label { color: #888; }
.sqr-sidebar-val   { color: #333; font-weight: 600; text-align: right; }
.sqr-price         { color: #4a5c1a; font-size: 15px; }
.sqr-back-link {
    display: inline-block;
    margin-top: 16px;
    font-size: 13px;
    color: #4a5c1a;
    text-decoration: none;
}
.sqr-back-link:hover { text-decoration: underline; }

.sqr-trust-card {
    background: #f9f6ed;
    border: 1px solid #e8e3d5;
    border-radius: 10px;
    padding: 18px 22px;
}
.sqr-trust-item {
    font-size: 13px;
    color: #555;
    padding: 6px 0;
    border-bottom: 1px solid #ece8dc;
}
.sqr-trust-item:last-child { border-bottom: none; }

/* ── Responsive ─────────────────────────────────────────────────────── */
@media (max-width: 720px) {
    .sqr-page-body { flex-direction: column; }
    .sqr-sidebar   { width: 100%; }
    .sqr-step-label { display: none; }
    .sqr-step-line  { width: 30px; }
}
