/* Form-specific styles - Mobile-first */
.form-container {
    min-height: 100vh;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 20px 15px;
    padding-top: 20px;
    width: 100%;
}

.price-form-wrapper,
.otb-form-wrapper {
    max-width: 100%;
    width: 100%;
    text-align: center;
}

.price-tag-container {
    position: relative;
    margin: 0 auto 30px;
    width: 100%;
    max-width: 320px;
}

.price-tag-svg {
    width: 100%;
    height: auto;
    display: block;
}

.price-input-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 75%;
    max-width: 240px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.price-input-group {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.currency-symbol {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary);
}

.price-input {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    border: none;
    background: transparent;
    color: var(--primary);
    width: 160px;
    padding: 8px;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}

/* Placeholder color will be set dynamically via inline style for dark mode support */
.price-input::placeholder {
    opacity: 0.4;
}

.price-input:focus {
    outline: 3px solid rgba(219, 61, 36, 0.3);
    border-radius: 4px;
}

.form-header {
    margin-top: 30px;
}

.form-header h1 {
    font-size: 26px;
    margin-bottom: 12px;
    line-height: 1.2;
}

.subtitle {
    font-size: 16px;
    color: #666;
    margin-bottom: 15px;
}

.group-label {
    display: inline-block;
    padding: 8px 16px;
    background: var(--accent);
    color: white;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

.group-label-top {
    display: inline-block;
    padding: 12px 24px;
    background: var(--accent);
    color: white;
    border-radius: 20px;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 15px;
}

.btn-submit {
    padding: 16px 32px;
    font-size: 18px;
    font-weight: 600;
    background: var(--accent);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    min-height: 56px;
    min-width: 100%;
    transition: all 0.2s;
    -webkit-tap-highlight-color: transparent;
}

.btn-submit:active:not(:disabled) {
    background: #e6004a;
    transform: scale(0.98);
}

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

.btn-submit:focus {
    outline: 3px solid rgba(255, 0, 85, 0.5);
    outline-offset: 2px;
}

/* OTB Wizard */
.otb-wizard {
    max-width: 100%;
    width: 100%;
}

.progress-indicator {
    margin-bottom: 30px;
}

.progress-bar {
    width: 100%;
    height: 10px;
    background: #e0e0e0;
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 12px;
}

.progress-fill {
    height: 100%;
    background: var(--accent);
    transition: width 0.3s ease;
    width: 33.33%;
}

.progress-text {
    font-size: 16px;
    font-weight: 600;
    color: #666;
}

.otb-step {
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.otb-step h2 {
    font-size: 22px;
    margin-bottom: 20px;
    text-align: center;
    line-height: 1.3;
}

.otb-input {
    width: 100%;
    padding: 16px;
    font-size: 18px;
    border: 3px solid var(--border);
    border-radius: 8px;
    min-height: 56px;
    font-family: inherit;
    margin-bottom: 25px;
    -webkit-appearance: none;
    appearance: none;
}

.otb-input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(219, 61, 36, 0.1);
}

/* Thank you screen */
.thank-you-screen {
    text-align: center;
    animation: fadeIn 0.5s ease;
    padding: 20px;
}

.thank-you-screen h2 {
    font-size: 28px;
    margin-top: 20px;
    margin-bottom: 12px;
    line-height: 1.2;
}

.thank-you-screen p {
    font-size: 18px;
    color: #666;
    margin-bottom: 25px;
}

.thank-you-screen .btn-submit {
    min-width: 200px;
}

/* Error messages */
.error-message {
    color: var(--error);
    font-size: 16px;
    margin-top: 12px;
    padding: 12px;
    background: #fee;
    border-radius: 6px;
    border: 1px solid var(--error);
}

/* Success message */
.success-message {
    color: var(--success);
    font-size: 16px;
    margin-top: 12px;
    padding: 12px;
    background: #efe;
    border-radius: 6px;
    border: 1px solid var(--success);
}

/* Tablet and up */
@media (min-width: 768px) {
    .form-container {
        padding: 40px 20px;
    }
    
    .price-form-wrapper {
        max-width: 600px;
    }
    
    .price-tag-container {
        max-width: 400px;
        margin-bottom: 40px;
    }
    
    .price-input-overlay {
        max-width: 300px;
    }
    
    .currency-symbol {
        font-size: 48px;
    }
    
    .price-input {
        font-size: 48px;
        width: 200px;
        padding: 10px;
    }
    
    .form-header {
        margin-top: 40px;
    }
    
    .form-header h1 {
        font-size: 36px;
    }
    
    .subtitle {
        font-size: 20px;
    }
    
    .group-label {
        padding: 10px 20px;
        font-size: 16px;
    }
    
    .btn-submit {
        padding: 20px 50px;
        font-size: 22px;
        min-height: 64px;
        min-width: 200px;
    }
    
    .btn-submit:hover:not(:disabled) {
        background: #e6004a;
        transform: scale(1.02);
    }
    
    .otb-wizard {
        max-width: 800px;
    }
    
    .progress-indicator {
        margin-bottom: 40px;
    }
    
    .progress-bar {
        height: 12px;
        margin-bottom: 15px;
    }
    
    .progress-text {
        font-size: 18px;
    }
    
    .otb-step h2 {
        font-size: 32px;
        margin-bottom: 30px;
    }
    
    .otb-input {
        padding: 20px;
        font-size: 20px;
        min-height: 64px;
        margin-bottom: 30px;
    }
    
    .thank-you-screen {
        padding: 40px;
    }
    
    .thank-you-screen h2 {
        font-size: 42px;
        margin-top: 30px;
        margin-bottom: 15px;
    }
    
    .thank-you-screen p {
        font-size: 22px;
        margin-bottom: 30px;
    }
    
    .error-message,
    .success-message {
        font-size: 18px;
        padding: 15px;
        margin-top: 15px;
    }
}

/* Desktop */
@media (min-width: 1024px) {
    .form-header h1 {
        font-size: 42px;
    }
    
    .otb-step h2 {
        font-size: 36px;
    }
    
    .thank-you-screen h2 {
        font-size: 48px;
    }
    
    .thank-you-screen p {
        font-size: 24px;
    }
}

