body {
    background: #262626;
}

.form-app {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: rgba(255, 255, 255, 0.08);
    z-index: 100;
    transition: opacity 0.3s ease;
}

.progress-fill {
    height: 100%;
    width: 0%;
    background: var(--orange-soda);
    transition: width 0.4s ease;
}

.form-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    max-width: 600px;
    width: 100%;
    margin: 0 auto;
    padding: 24px 20px;
    padding-top: 20px;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: none;
    border: none;
    color: var(--silver);
    font-family: var(--font-primary);
    font-size: 0.9rem;
    cursor: pointer;
    padding: 8px 0;
    margin-bottom: 24px;
    opacity: 0.7;
    transition: opacity 0.2s;
    align-self: flex-start;
}

.back-link:hover {
    opacity: 1;
}

.slides-wrapper {
    position: relative;
    flex: 1;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.slide.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    position: relative;
}

.slide.exit-up {
    opacity: 0;
    transform: translateY(-20px);
}

.slide.exit-down {
    opacity: 0;
    transform: translateY(20px);
}

.cover-screen {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 70vh;
    border-radius: 12px;
    overflow: hidden;
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
}

.cover-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
}

.cover-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 40px 28px;
    max-width: 520px;
}

.cover-content h1 {
    font-family: var(--font-primary);
    font-size: clamp(1.5rem, 5vw, 2.2rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.3;
    margin-bottom: 16px;
}

.cover-content p {
    font-family: var(--font-primary);
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 32px;
}

.cover-cta {
    display: inline-block;
    padding: 14px 40px;
    background: var(--orange-soda);
    color: #fff;
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
}

.cover-cta:hover {
    background: #c93530;
    transform: translateY(-1px);
}

.slide h2 {
    font-family: var(--font-primary);
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.5;
    color: #fff;
    margin-bottom: 28px;
}

.required {
    color: var(--orange-soda);
}

.options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.opt {
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    padding: 14px 16px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    cursor: pointer;
    text-align: left;
    color: var(--silver);
    font-family: var(--font-primary);
    font-size: 0.9rem;
    line-height: 1.4;
    transition: background 0.2s, border-color 0.2s;
}

.opt:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.25);
}

.opt.selected {
    background: rgba(232, 63, 56, 0.12);
    border-color: var(--orange-soda);
}

.opt.selected .opt-key {
    background: var(--orange-soda);
    border-color: var(--orange-soda);
    color: #fff;
}

.opt-key {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    min-width: 28px;
    border: 1.5px solid rgba(255, 255, 255, 0.25);
    border-radius: 6px;
    font-family: var(--font-secondary);
    font-size: 0.75rem;
    font-weight: 500;
    transition: all 0.2s;
}

.contact-fields {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.field-group {
    width: 100%;
}

.text-field {
    width: 100%;
    padding: 14px 16px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    color: #fff;
    font-family: var(--font-primary);
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.2s;
}

.text-field::placeholder {
    color: rgba(255, 255, 255, 0.35);
}

.text-field:focus {
    border-color: var(--orange-soda);
}

.phone-field {
    display: flex;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    overflow: hidden;
    transition: border-color 0.2s;
}

.phone-field:focus-within {
    border-color: var(--orange-soda);
}

.country-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 10px 0 12px;
    background: none;
    border: none;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    color: rgba(255, 255, 255, 0.5);
    flex-shrink: 0;
}

.country-flag {
    font-size: 1.3rem;
    line-height: 1;
}

.country-chevron {
    width: 10px;
    height: 10px;
    transition: transform 0.2s;
}

.country-toggle.open .country-chevron {
    transform: rotate(180deg);
}

.country-code-display {
    padding: 0 8px 0 10px;
    color: rgba(255, 255, 255, 0.6);
    font-family: var(--font-primary);
    font-size: 0.9rem;
    white-space: nowrap;
    flex-shrink: 0;
}

.country-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    background: #2a2a2a;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    z-index: 50;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
    overflow: hidden;
}

.country-dropdown.open {
    display: block;
}

.country-search-wrap {
    padding: 10px 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.country-search {
    width: 100%;
    padding: 10px 12px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    color: #fff;
    font-family: var(--font-primary);
    font-size: 0.85rem;
    outline: none;
}

.country-search::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.country-search:focus {
    border-color: rgba(255, 255, 255, 0.25);
}

.country-list {
    list-style: none;
    margin: 0;
    padding: 4px 0;
    max-height: 200px;
    overflow-y: auto;
}

.country-list::-webkit-scrollbar {
    width: 5px;
}

.country-list::-webkit-scrollbar-track {
    background: transparent;
}

.country-list::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 3px;
}

.country-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    cursor: pointer;
    transition: background 0.15s;
    font-family: var(--font-primary);
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
}

.country-item:hover {
    background: rgba(255, 255, 255, 0.06);
}

.country-item.active {
    background: rgba(232, 63, 56, 0.12);
}

.country-item-flag {
    font-size: 1.2rem;
    line-height: 1;
}

.country-item-name {
    flex: 1;
}

.country-item-code {
    color: rgba(255, 255, 255, 0.35);
    font-size: 0.8rem;
}

.field-group {
    width: 100%;
    position: relative;
}

.text-field-phone {
    border: none;
    border-radius: 0;
    flex: 1;
    min-width: 0;
}

.text-field-phone:focus {
    border: none;
}

.submit-btn {
    width: 100%;
    padding: 14px;
    margin-top: 8px;
    background: var(--orange-soda);
    border: none;
    border-radius: 8px;
    color: #fff;
    font-family: var(--font-primary);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, opacity 0.2s;
}

.submit-btn:hover:not(:disabled) {
    background: #c93530;
}

.submit-btn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.done-screen {
    text-align: center;
    padding: 60px 0 40px;
}

.done-icon {
    color: var(--orange-soda);
    margin-bottom: 28px;
    opacity: 0;
    transform: scale(0.5);
    animation: popIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 0.15s forwards;
}

@keyframes popIn {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.done-screen h2 {
    text-align: center;
    margin-bottom: 12px;
}

.done-screen p {
    font-size: 1rem;
    opacity: 0.7;
    margin-bottom: 36px;
}

.home-link {
    font-family: var(--font-primary);
    font-size: 0.85rem;
    color: var(--silver);
    opacity: 0.5;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 2px;
    transition: opacity 0.2s;
}

.home-link:hover {
    opacity: 1;
}

@media (min-width: 768px) {
    .form-body {
        padding: 40px 24px;
        justify-content: center;
    }

    .slide h2 {
        font-size: 1.4rem;
    }

    .opt {
        padding: 16px 20px;
        font-size: 0.95rem;
    }
}
