/* ── Nankharia Testimonial Form — form.css ── */

#nte-app {
    max-width: 680px;
    margin: 0 auto;
    padding: 0 12px 48px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 15px;
    color: #1a1a1a;
}

/* Header */
.nte-header {
    background: linear-gradient(135deg, #1B5E20 0%, #2E7D32 100%);
    color: #fff;
    border-radius: 12px;
    padding: 20px 24px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
}
.nte-header-icon { font-size: 36px; flex-shrink: 0; }
.nte-header h1 { font-size: 18px; font-weight: 600; margin: 0 0 4px; }
.nte-header p  { font-size: 13px; opacity: .8; margin: 0; }

/* Step indicator */
.nte-steps {
    display: flex;
    align-items: center;
    gap: 0;
    margin-bottom: 20px;
}
.nte-step {
    flex: 1;
    text-align: center;
    font-size: 12px;
    color: #aaa;
    position: relative;
    padding-bottom: 8px;
    border-bottom: 3px solid #e0e0e0;
    transition: all .2s;
}
.nte-step.active  { color: #1B5E20; border-color: #1B5E20; font-weight: 600; }
.nte-step.done    { color: #4CAF50; border-color: #A5D6A7; }

/* Card */
.nte-card {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 10px;
    padding: 20px 24px;
    margin-bottom: 16px;
    box-shadow: 0 1px 4px rgba(0,0,0,.04);
}
.nte-section-label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .07em;
    color: #888;
    margin-bottom: 14px;
}

/* Form fields */
.nte-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.nte-field { margin-bottom: 14px; }
.nte-field:last-child { margin-bottom: 0; }
.nte-field label {
    display: block;
    font-size: 13px;
    color: #555;
    margin-bottom: 5px;
    font-weight: 500;
}
.nte-field input,
.nte-field select {
    width: 100%;
    padding: 9px 12px;
    border: 1px solid #ddd;
    border-radius: 7px;
    font-size: 14px;
    font-family: inherit;
    color: #1a1a1a;
    background: #fafafa;
    transition: border .15s, box-shadow .15s;
    box-sizing: border-box;
}
.nte-field input:focus,
.nte-field select:focus {
    outline: none;
    border-color: #2E7D32;
    box-shadow: 0 0 0 3px rgba(46,125,50,.1);
    background: #fff;
}

/* Channel selector */
.nte-channels { display: flex; gap: 10px; margin-top: 8px; }
.nte-channel-btn {
    flex: 1;
    padding: 12px 10px;
    border: 1.5px solid #ddd;
    border-radius: 9px;
    background: #fafafa;
    cursor: pointer;
    font-family: inherit;
    font-size: 13px;
    color: #555;
    text-align: center;
    transition: all .15s;
    line-height: 1.4;
}
.nte-channel-btn:hover { border-color: #2E7D32; background: #F1F8E9; }
.nte-channel-btn.selected {
    border-color: #1B5E20;
    background: #E8F5E9;
    color: #1B5E20;
    font-weight: 600;
}
.nte-channel-icon { font-size: 22px; display: block; margin-bottom: 4px; }

/* OTP input */
.nte-otp-row {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-top: 10px;
    flex-wrap: wrap;
}
.nte-otp-input {
    width: 120px !important;
    text-align: center;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 6px;
    padding: 8px 6px !important;
}
.nte-otp-hint {
    font-size: 12px;
    color: #888;
    margin-top: 6px;
}

/* Verified badge */
.nte-verified {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #1B5E20;
    background: #E8F5E9;
    border: 1px solid #A5D6A7;
    padding: 5px 12px;
    border-radius: 20px;
    font-weight: 500;
}

/* Rating table */
.nte-rating-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}
.nte-rating-table th {
    font-size: 11px;
    font-weight: 600;
    color: #888;
    padding: 6px 8px;
    text-align: center;
    border-bottom: 1px solid #eee;
    text-transform: uppercase;
    letter-spacing: .04em;
}
.nte-rating-table th:first-child { text-align: left; width: 42%; }
.nte-rating-table td {
    padding: 9px 8px;
    border-bottom: 1px solid #f5f5f5;
    text-align: center;
    vertical-align: middle;
}
.nte-rating-table td:first-child { text-align: left; line-height: 1.4; }
.nte-rating-table tr:last-child td { border-bottom: none; }

/* Radio dot */
.nte-radio {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid #ccc;
    display: inline-block;
    cursor: pointer;
    transition: all .12s;
    vertical-align: middle;
    position: relative;
}
.nte-radio:hover { border-color: #2E7D32; }
.nte-radio.selected {
    border-color: #1B5E20;
    background: #1B5E20;
    box-shadow: inset 0 0 0 3px #fff;
}

/* Yes/No questions */
.nte-yn-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #f5f5f5;
    font-size: 13px;
    gap: 12px;
}
.nte-yn-row:last-child { border-bottom: none; }
.nte-yn-btns { display: flex; gap: 8px; flex-shrink: 0; }
.nte-yn-btn {
    padding: 5px 16px;
    border-radius: 20px;
    border: 1px solid #ddd;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    font-family: inherit;
    background: transparent;
    color: #666;
    transition: all .12s;
}
.nte-yn-btn.yes.selected { background: #E8F5E9; border-color: #2E7D32; color: #1B5E20; }
.nte-yn-btn.no.selected  { background: #FFEBEE; border-color: #E53935; color: #C62828; }
.nte-yn-btn:hover        { border-color: #888; }

/* Stars */
.nte-stars { display: flex; gap: 6px; justify-content: center; margin: 8px 0 4px; }
.nte-star {
    font-size: 34px;
    cursor: pointer;
    color: #ddd;
    transition: color .1s, transform .1s;
    line-height: 1;
}
.nte-star:hover,
.nte-star.filled { color: #F9A825; }
.nte-star:hover  { transform: scale(1.1); }
.nte-star-label  { text-align: center; font-size: 13px; color: #888; min-height: 18px; }

/* Declaration */
.nte-declaration {
    background: #F1F8E9;
    border-left: 4px solid #2E7D32;
    border-radius: 0 8px 8px 0;
    padding: 14px 16px;
    font-size: 13px;
    line-height: 1.7;
    color: #444;
    margin-bottom: 16px;
}

/* Buttons */
.nte-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    border: 1px solid #ccc;
    border-radius: 8px;
    background: transparent;
    color: #333;
    font-size: 14px;
    font-family: inherit;
    cursor: pointer;
    font-weight: 500;
    transition: all .15s;
}
.nte-btn:hover { background: #f5f5f5; }
.nte-btn-primary {
    background: #1B5E20;
    color: #fff;
    border-color: #1B5E20;
}
.nte-btn-primary:hover { background: #2E7D32; border-color: #2E7D32; }
.nte-btn-sm { padding: 7px 14px; font-size: 13px; }
.nte-btn-actions { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; }

/* Error / message */
.nte-error   { font-size: 13px; color: #C62828; margin-top: 8px; }
.nte-success { font-size: 13px; color: #2E7D32; margin-top: 8px; }

/* Loading spinner */
.nte-spinner {
    display: inline-block;
    width: 16px; height: 16px;
    border: 2px solid rgba(255,255,255,.4);
    border-top-color: #fff;
    border-radius: 50%;
    animation: nte-spin .7s linear infinite;
    vertical-align: middle;
}
@keyframes nte-spin { to { transform: rotate(360deg); } }

/* Success screen */
.nte-success-screen {
    text-align: center;
    padding: 40px 20px;
}
.nte-success-screen .nte-success-icon { font-size: 64px; margin-bottom: 16px; }
.nte-success-screen h2 { font-size: 22px; font-weight: 600; margin-bottom: 8px; color: #1B5E20; }
.nte-success-screen p  { color: #666; font-size: 14px; }
.nte-summary-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 24px 0;
    text-align: left;
}
.nte-summary-item {
    background: #f9f9f9;
    border-radius: 8px;
    padding: 12px 14px;
}
.nte-summary-item .label { font-size: 11px; color: #888; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 4px; }
.nte-summary-item .value { font-size: 15px; font-weight: 600; color: #1a1a1a; }

@media (max-width: 520px) {
    .nte-row2    { grid-template-columns: 1fr; }
    .nte-channels { flex-direction: column; }
    .nte-rating-table { font-size: 12px; }
    .nte-rating-table th,
    .nte-rating-table td { padding: 6px 4px; }
    .nte-summary-grid { grid-template-columns: 1fr; }
    .nte-header h1 { font-size: 16px; }
}
