@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,400&family=Jost:wght@300;400;500&display=swap');

.atb-form-wrapper {
    max-width: 780px;
    margin: 0 auto;
    font-family: 'Jost', sans-serif;
    padding-bottom: 2rem;
}

/* Header */
.atb-bh { text-align: center; padding: 3rem 1rem 2.5rem; }
.atb-bh-line { display: flex; align-items: center; gap: 16px; justify-content: center; margin-bottom: 1rem; }
.atb-bh-line::before, .atb-bh-line::after { content: ''; height: 1px; width: 60px; background: linear-gradient(90deg, transparent, #18839e); }
.atb-bh-line::after { background: linear-gradient(90deg, #18839e, transparent); }
.atb-bh-tag { font-size: 11px; font-weight: 500; letter-spacing: 3px; text-transform: uppercase; color: #18839e; }
.atb-bh h2 { font-family: 'Cormorant Garamond', serif; font-size: 42px; font-weight: 400; color: #1b2c30; margin: 0 0 0.75rem; line-height: 1.15; letter-spacing: -0.5px; }
.atb-bh p  { font-family: 'Cormorant Garamond', serif; font-style: italic; color: #5a7880; font-size: 17px; margin: 0; }

/* Progress */
.atb-progress-bar { display: flex; margin: 0 0 2.5rem; overflow: hidden; }
.atb-pb-step { flex: 1; height: 3px; background: #d7ebf0; transition: background 0.4s; margin-right: 3px; }
.atb-pb-step:last-child { margin-right: 0; }
.atb-pb-step.active { background: #18839e; }

/* Section */
.atb-fsec { background: #fff; border: 1px solid #deedf1; padding: 2rem 2rem 1.5rem; margin-bottom: 1.25rem; position: relative; }
.atb-fsec::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: #18839e; }
.atb-sec-head { display: flex; align-items: center; gap: 12px; margin-bottom: 1.75rem; }
.atb-sec-num { width: 30px; height: 30px; border-radius: 50%; background: #e3f2f6; display: flex; align-items: center; justify-content: center; font-family: 'Cormorant Garamond', serif; font-size: 15px; font-weight: 600; color: #18839e; flex-shrink: 0; }
.atb-sec-title { font-size: 11px; font-weight: 500; letter-spacing: 2.5px; text-transform: uppercase; color: #18839e; }

/* Grid */
.atb-frow { display: flex; gap: 20px; margin-bottom: 1.25rem; flex-wrap: wrap; }
.atb-fg { flex: 1; min-width: 220px; display: flex; flex-direction: column; margin-bottom: 1rem; }
.atb-fg label { font-size: 11px; font-weight: 500; letter-spacing: 1.5px; text-transform: uppercase; color: #7a9aa0; margin-bottom: 8px; }
.atb-block-label { font-size: 11px; font-weight: 500; letter-spacing: 1.5px; text-transform: uppercase; color: #7a9aa0; display: block; margin-bottom: 12px; }

/* Inputs */
.atb-input {
    font-family: 'Jost', sans-serif;
    font-size: 14px; font-weight: 300;
    padding: 11px 14px;
    border: 1px solid #d0e6eb;
    background: #fafdfd;
    color: #1b2c30;
    transition: all 0.25s;
    outline: none;
    appearance: none; -webkit-appearance: none;
    width: 100%;
    box-sizing: border-box;
}
.atb-input::placeholder { color: #a8c0c5; }
.atb-input:focus { border-color: #18839e; background: #fff; box-shadow: 0 0 0 3px rgba(24,131,158,0.08); }
textarea.atb-input { resize: vertical; min-height: 100px; line-height: 1.6; }
select.atb-input {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2318839e' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; cursor: pointer;
}

/* Icon wrapper */
.atb-form-wrapper .atb-input-wrap { position: relative; }
.atb-form-wrapper .atb-input-wrap .atb-input { padding-left: 38px !important; }
.atb-form-wrapper .atb-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    opacity: 0.5;
    width: 15px !important;
    height: 15px !important;
    min-width: 15px;
    min-height: 15px;
    display: block !important;
    color: #18839e;
    stroke: #18839e;
    fill: none;
    overflow: visible;
    z-index: 1;
}

/* Trip cards */
.atb-trip-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.atb-tc { border: 1px solid #d0e6eb; padding: 14px 16px; cursor: pointer; transition: all 0.2s; background: #fafdfd; position: relative; user-select: none; }
.atb-tc:hover { border-color: #18839e; background: #f0f9fb; }
.atb-tc.selected { border-color: #18839e; background: #ebf6f9; }
.atb-tc.selected::after { content: '✓'; position: absolute; right: 10px; top: 10px; font-size: 11px; color: #18839e; font-weight: 600; }
.atb-tc-label { font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: #18839e; font-weight: 500; margin-bottom: 3px; }
.atb-tc-desc { font-family: 'Cormorant Garamond', serif; font-size: 14px; color: #4a6870; font-style: italic; }

/* Stepper — use !important to prevent theme override */
.atb-form-wrapper .atb-stepper {
    display: flex !important;
    align-items: center !important;
    border: 1px solid #d0e6eb !important;
    background: #fafdfd !important;
    width: fit-content !important;
    border-radius: 0 !important;
    overflow: hidden;
}
.atb-form-wrapper .atb-tv-btn {
    width: 42px !important;
    height: 44px !important;
    background: #fafdfd !important;
    background-color: #fafdfd !important;
    border: none !important;
    border-radius: 0 !important;
    cursor: pointer !important;
    font-size: 22px !important;
    line-height: 1 !important;
    color: #18839e !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-weight: 300 !important;
    transition: background 0.2s !important;
    font-family: 'Jost', sans-serif !important;
    padding: 0 !important;
    margin: 0 !important;
    box-shadow: none !important;
    text-shadow: none !important;
    outline: none !important;
    -webkit-appearance: none !important;
    appearance: none !important;
}
.atb-form-wrapper .atb-tv-btn:hover {
    background: #e3f2f6 !important;
    background-color: #e3f2f6 !important;
    color: #0f6c87 !important;
}
.atb-form-wrapper .atb-tv-btn:focus { outline: none !important; box-shadow: none !important; }
.atb-form-wrapper .atb-tv-num {
    width: 50px !important;
    text-align: center !important;
    font-family: 'Cormorant Garamond', serif !important;
    font-size: 22px !important;
    font-weight: 400 !important;
    color: #1b2c30 !important;
    border-left: 1px solid #d0e6eb !important;
    border-right: 1px solid #d0e6eb !important;
    line-height: 44px !important;
    background: #fff !important;
    display: inline-block !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Radio / Checkbox */
.atb-radio-label, .atb-check-label { display: flex; align-items: center; gap: 8px; font-size: 14px; cursor: pointer; margin-bottom: 6px; color: #1b2c30; }

/* Footer */
.atb-ff { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 1.5rem 0 0; border-top: 1px solid #deedf1; flex-wrap: wrap; }
.atb-ff-note { font-size: 12px; color: #8aacb2; font-style: italic; }
.atb-submit-btn { font-family: 'Jost', sans-serif; font-size: 12px; font-weight: 500; letter-spacing: 3px; text-transform: uppercase; padding: 14px 40px; background: #18839e; color: #fff; border: none; cursor: pointer; transition: all 0.3s; }
.atb-submit-btn:hover { background: #0f6c87; letter-spacing: 4px; }
.atb-submit-btn:active { transform: scale(0.98); }
.atb-submit-btn:disabled { opacity: 0.7; cursor: not-allowed; }

/* Messages */
.atb-form-msg { margin-top: 16px; padding: 14px 18px; font-size: 14px; }
.atb-form-msg.success { background: #e8f7f0; color: #0a5a3a; border-left: 3px solid #18839e; }
.atb-form-msg.error   { background: #fdecea; color: #8b2020; border-left: 3px solid #d9534f; }

.atb-mb { margin-bottom: 1.25rem; }

@media (max-width: 600px) {
    .atb-bh h2 { font-size: 28px; }
    .atb-frow { flex-direction: column; }
    .atb-trip-cards { grid-template-columns: 1fr; }
    .atb-fsec { padding: 1.5rem 1.25rem 1rem; }
    .atb-ff { flex-direction: column; align-items: flex-start; }
}
