/* ===== FORM HERO ===== */
.form-hero {
    padding: 120px 5% 60px;
    text-align: center;
    background: linear-gradient(135deg, #fff5f0, #ffe8e0);
}

.needy-hero {
    background: linear-gradient(135deg, #e8f5e9, #c8e6c9);
}

.form-hero h1 { font-size: 2.5rem; margin-bottom: 15px; }
.form-hero p { font-size: 1.1rem; color: #555; margin-bottom: 25px; }

.trust-badges {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.trust-badge {
    background: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* ===== PROGRESS BAR ===== */
.progress-section {
    padding: 20px 5%;
    background: white;
    position: sticky;
    top: 70px;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.progress-bar {
    width: 100%;
    height: 6px;
    background: #e0e0e0;
    border-radius: 3px;
    margin-bottom: 10px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #FF6B35, #FFD700);
    border-radius: 3px;
    transition: width 0.5s ease;
}

.step-indicators {
    display: flex;
    justify-content: space-between;
    max-width: 400px;
    margin: 0 auto;
}

.step-dot {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    color: #888;
    transition: all 0.3s;
}

.step-dot.active {
    background: #FF6B35;
    color: white;
    transform: scale(1.1);
}

.step-dot.done {
    background: #28A745;
    color: white;
}

.step-labels {
    display: flex;
    justify-content: space-between;
    max-width: 420px;
    margin: 8px auto 0;
    font-size: 0.75rem;
    color: #888;
}

/* ===== FORM CONTAINER ===== */
.form-container {
    max-width: 700px;
    margin: 30px auto 60px;
    padding: 0 20px;
}

.form-step {
    display: none;
    animation: fadeInUp 0.4s ease;
}

.form-step.active { display: block; }

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.step-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
}

.step-header h2 { font-size: 1.8rem; color: #333; }
.step-header p { color: #888; margin-top: 5px; }

/* ===== FORM ELEMENTS ===== */
.form-group { margin-bottom: 25px; }

.form-label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
}

.required { color: #FF6B35; }

.form-input {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    transition: border-color 0.3s;
    outline: none;
}

.form-input:focus { border-color: #FF6B35; }
.form-input.error { border-color: #dc3545; }
.form-input.success { border-color: #28A745; }

.form-textarea {
    resize: vertical;
    min-height: 180px;
}

.error-msg {
    color: #dc3545;
    font-size: 0.85rem;
    margin-top: 5px;
    display: block;
}

.hint-text {
    color: #888;
    font-size: 0.85rem;
    margin-top: 6px;
}

/* PHONE INPUT */
.phone-input-group {
    display: flex;
    align-items: center;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    overflow: hidden;
    transition: border-color 0.3s;
}

.phone-input-group:focus-within { border-color: #FF6B35; }

.phone-prefix {
    padding: 14px 12px;
    background: #f8f9fa;
    color: #555;
    font-weight: 600;
    border-right: 1px solid #e0e0e0;
}

.phone-input {
    border: none;
    border-radius: 0;
    flex: 1;
}

.phone-input:focus { border: none; }

/* WORD COUNT */
.word-count {
    text-align: right;
    font-size: 0.85rem;
    color: #888;
    margin-top: 5px;
}

/* RADIO GROUP */
.radio-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.radio-item {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    padding: 10px;
    border-radius: 8px;
    transition: background 0.2s;
}

.radio-item:hover { background: #f8f9fa; }

.radio-item input[type="radio"] {
    width: 18px;
    height: 18px;
    accent-color: #FF6B35;
    cursor: pointer;
}

/* CATEGORY SELECT GRID */
.category-select-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 12px;
}

.category-select-item {
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 15px 10px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
}

.category-select-item input {
    position: absolute;
    opacity: 0;
}

.category-select-item:hover {
    border-color: #FF6B35;
    background: #fff5f0;
}

.category-select-item.selected {
    border-color: #FF6B35;
    background: #FF6B35;
    color: white;
}

.category-icon { font-size: 2rem; margin-bottom: 8px; }
.category-name { font-weight: 600; font-size: 0.9rem; }
.category-desc { font-size: 0.75rem; opacity: 0.7; }

/* AMOUNT OPTIONS */
.amount-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.amount-option {
    border: 2px solid #e0e0e0;
    border-radius: 25px;
    padding: 10px 20px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 5px;
}

.amount-option input { display: none; }

.amount-option:hover,
.amount-option.selected {
    border-color: #FF6B35;
    background: #FF6B35;
    color: white;
}

/* URGENCY SCALE */
.urgency-scale { padding: 10px 0; }

input[type="range"] {
    width: 100%;
    accent-color: #FF6B35;
    height: 6px;
}

.urgency-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: #888;
    margin-top: 8px;
}

/* VIDEO OPTIONS */
.video-instructions {
    background: #e8f5e9;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 25px;
}

.video-instructions h3 {
    color: #2e7d32;
    margin-bottom: 15px;
}

.instruction-steps { display: flex; flex-direction: column; gap: 12px; }

.instruction-step {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.inst-number {
    width: 28px;
    height: 28px;
    min-width: 28px;
    background: #2e7d32;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
}

.inst-text { font-size: 0.95rem; }

.video-options { display: flex; flex-direction: column; gap: 15px; }

.video-option-card {
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    overflow: hidden;
    transition: border-color 0.3s;
}

.video-option-card.active { border-color: #FF6B35; }

.option-header {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    cursor: pointer;
    background: #f8f9fa;
}

.option-icon { font-size: 2rem; }
.option-info { flex: 1; }
.option-info h4 { margin: 0 0 4px; }
.option-info p { margin: 0; font-size: 0.85rem; color: #888; }

.option-select-btn {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    background: #FF6B35;
    color: white;
}

.option-body { padding: 15px 20px; }

.youtube-steps ol { padding-left: 20px; }
.youtube-steps li { margin-bottom: 6px; font-size: 0.9rem; }

.skip-warning {
    background: #fff3cd;
    padding: 12px;
    border-radius: 8px;
    color: #856404;
}

.wa-number {
    display: inline-block;
    font-size: 1.3rem;
    font-weight: 700;
    color: #25D366;
    margin: 10px 0;
    text-decoration: none;
}

/* CHECKBOX */
.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    min-width: 20px;
    margin-top: 2px;
    accent-color: #FF6B35;
    cursor: pointer;
}

/* FORM SUMMARY */
.form-summary {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 25px;
}

.form-summary h3 { margin-bottom: 15px; }

.summary-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.summary-item { font-size: 0.9rem; }
.summary-label { color: #888; font-size: 0.8rem; }
.summary-value { font-weight: 600; }

/* BUTTONS */
.btn-group {
    display: flex;
    gap: 15px;
    justify-content: space-between;
    margin-top: 30px;
}

.btn-next-step {
    background: #FF6B35;
    color: white;
    padding: 14px 35px;
    border: none;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    margin-left: auto;
}

.btn-next-step:hover { transform: translateY(-2px); box-shadow: 0 5px 20px rgba(255,107,53,0.4); }

.btn-back-step {
    background: transparent;
    color: #888;
    padding: 14px 25px;
    border: 2px solid #e0e0e0;
    border-radius: 30px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-back-step:hover { border-color: #FF6B35; color: #FF6B35; }

.btn-submit-final {
    background: linear-gradient(135deg, #FF6B35, #FF8C42);
    color: white;
    padding: 16px 40px;
    border: none;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    width: 100%;
    margin-top: 20px;
    box-shadow: 0 5px 20px rgba(255,107,53,0.4);
}

.btn-submit-final:hover { transform: translateY(-3px); }

/* SUCCESS SCREEN */
.success-screen { text-align: center; padding: 40px 20px; }

.success-circle {
    font-size: 5rem;
    display: block;
    margin-bottom: 20px;
    animation: bounceIn 0.6s ease;
}

@keyframes bounceIn {
    0% { transform: scale(0); }
    60% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.case-id-box {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 12px;
    margin: 20px 0;
}

.case-id {
    font-size: 2rem;
    font-weight: 700;
    color: #FF6B35;
    margin: 10px 0;
    letter-spacing: 3px;
}

.copy-btn {
    background: #FF6B35;
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 20px;
    cursor: pointer;
}

.what-next { text-align: left; margin: 25px 0; }
.timeline { display: flex; flex-direction: column; gap: 15px; margin-top: 15px; }

.timeline-item {
    display: flex;
    gap: 15px;
    align-items: center;
    background: #f8f9fa;
    padding: 12px 16px;
    border-radius: 10px;
}

.tl-icon { font-size: 1.5rem; }

.share-prompt-box {
    background: linear-gradient(135deg, #e8f5e9, #c8e6c9);
    padding: 20px;
    border-radius: 12px;
    margin: 20px 0;
}

.btn-share-case {
    background: #25D366;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 700;
    cursor: pointer;
    margin-top: 10px;
    font-size: 1rem;
}

.btn-home {
    display: inline-block;
    padding: 12px 30px;
    background: #004E89;
    color: white;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 15px;
}

/* LOADING */
.loading-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.loading-box {
    background: white;
    padding: 40px;
    border-radius: 16px;
    text-align: center;
}

.loader {
    width: 50px;
    height: 50px;
    border: 5px solid #f0f0f0;
    border-top: 5px solid #FF6B35;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* DOCUMENT OPTIONS */
.drive-instructions {
    background: #e3f2fd;
    padding: 15px;
    border-radius: 8px;
}

.drive-instructions ol { padding-left: 20px; }
.drive-instructions li { margin-bottom: 5px; font-size: 0.9rem; }

/* MOBILE */
@media (max-width: 600px) {
    .category-select-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .summary-grid { grid-template-columns: 1fr; }
    .amount-options { flex-direction: column; }
    .btn-group { flex-direction: column; }
    .btn-next-step { margin-left: 0; }
}