#arabeea-app {
    max-width: 640px;
    margin: 0 auto;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}
.ara-screen { display: none; }
.ara-active { display: block; }

.ara-h1   { font-size: 22px; font-weight: 600; color: #111; margin-bottom: .5rem; }
.ara-lead { font-size: 16px; line-height: 1.7; color: #555; margin-bottom: 1.25rem; }
.ara-meta { font-size: 12px; color: #aaa; margin-bottom: .4rem; }

/* Registration */
.ara-field { margin-bottom: 1rem; }
.ara-field label { display: block; font-size: 14px; color: #444; margin-bottom: .35rem; font-weight: 500; }
.ara-field input[type=text],
.ara-field input[type=email] {
    width: 100%; border: 1px solid #ddd; border-radius: 8px;
    padding: .65rem .9rem; font-size: 15px; color: #111;
    outline: none; transition: border-color .15s;
    box-sizing: border-box;
}
.ara-field input:focus { border-color: #1D9E75; }
.ara-err { font-size: 13px; color: #A32D2D; margin-top: .3rem; display: none; }
.ara-info-box {
    background: #f5f5f5; border-radius: 8px;
    padding: 1rem 1.25rem; margin-bottom: 1.5rem;
    font-size: 14px; line-height: 1.7; color: #555;
}

/* Buttons */
.ara-btn {
    background: #fff; border: 1px solid #ccc; border-radius: 8px;
    padding: .6rem 1.25rem; font-size: 15px; cursor: pointer; color: #111;
}
.ara-btn:hover { background: #f5f5f5; }
.ara-btn-primary { background: #1D9E75; color: #fff; border-color: #1D9E75; font-weight: 500; }
.ara-btn-primary:hover { background: #0F6E56; border-color: #0F6E56; }

/* Progress */
.ara-top-bar {
    display: flex; justify-content: space-between;
    align-items: center; margin-bottom: .2rem;
    font-size: 13px; color: #aaa;
}
.ara-prog-bar  { height: 4px; background: #e5e5e5; border-radius: 4px; margin: .6rem 0 1.25rem; }
.ara-prog-fill { height: 4px; background: #1D9E75; border-radius: 4px; transition: width .3s; }

/* Question card */
.ara-q-card {
    background: #fff; border: 1px solid #e5e5e5; border-radius: 12px;
    padding: 1.25rem 1.5rem; margin-bottom: 1rem;
}
.ara-q-label {
    font-size: 11px; color: #aaa; text-transform: uppercase;
    letter-spacing: .05em; margin-bottom: .6rem;
}
.ara-q-text { font-size: 15px; color: #111; margin-bottom: .85rem; line-height: 1.6; white-space: pre-line; }
.ara-arabic  { font-size: 22px; direction: rtl; font-weight: 600; color: #111; line-height: 1.6; }
.ara-trans   { font-size: 13px; color: #888; font-style: italic; margin-top: 2px; }

/* Options */
.ara-opts { display: grid; gap: 8px; }
.ara-opt {
    background: #f9f9f9; border: 1px solid #e5e5e5; border-radius: 8px;
    padding: .7rem 1rem; cursor: pointer; font-size: 15px; color: #111;
    text-align: left; line-height: 1.5; width: 100%;
    transition: border-color .15s, background .15s;
}
.ara-opt:hover  { border-color: #bbb; background: #fff; }
.ara-opt.correct { background: #EAF3DE; border-color: #639922; color: #27500A; }
.ara-opt.wrong   { background: #FCEBEB; border-color: #A32D2D; color: #501313; }
.ara-opt.disabled { cursor: default; pointer-events: none; }
.ara-opt-ar { display: block; font-size: 18px; direction: rtl; }
.ara-opt-en { display: block; font-size: 12px; opacity: .75; }

/* Feedback */
.ara-fbrow { display: flex; align-items: center; gap: 8px; margin-top: .75rem; font-size: 13px; min-height: 20px; }

/* Result */
.ara-res-level { font-size: 52px; font-weight: 700; color: #1D9E75; margin: .4rem 0; }
.ara-res-name  { font-size: 20px; font-weight: 600; color: #111; margin-bottom: .4rem; }
.ara-res-desc  { font-size: 15px; color: #555; line-height: 1.7; margin-bottom: 1.25rem; }

.ara-srow  { display: flex; gap: 10px; margin-bottom: 1.25rem; flex-wrap: wrap; }
.ara-sc    { background: #f5f5f5; border-radius: 8px; padding: .7rem 1rem; flex: 1; min-width: 70px; }
.ara-scn   { font-size: 22px; font-weight: 600; color: #111; }
.ara-scl   { font-size: 12px; color: #aaa; }

.ara-sgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 1.25rem; }
.ara-sk    { background: #f5f5f5; border-radius: 8px; padding: .65rem 1rem; }
.ara-skl   { font-size: 12px; color: #aaa; margin-bottom: 3px; }
.ara-skv   { font-size: 14px; font-weight: 600; color: #111; }

.ara-notice {
    background: #EAF3DE; border: 1px solid #a3d077; border-radius: 8px;
    padding: .75rem 1rem; font-size: 14px; color: #27500A; margin-bottom: 1rem;
}

@media (max-width: 480px) {
    .ara-q-card { padding: 1rem; }
    .ara-res-level { font-size: 40px; }
}
