/* landing.css — דף הבית: בית ספר ← קבוצה ← סיסמה */
body.landing { background: var(--c-bg) radial-gradient(600px 300px at 90% -10%, #ffe9c2 0%, transparent 60%) no-repeat; }
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 20px; max-width: 860px; margin: 0 auto; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--c-text); font-weight: 900; font-size: 1.2rem; }
main { max-width: 760px; margin: 0 auto; padding: 8px 16px 40px; display: grid; gap: 18px; }
.panel-hero { text-align: center; padding: 30px 24px 26px; position: relative; }
.hero-emoji { font-size: 3rem; line-height: 1; margin-bottom: 6px; animation: pop .5s var(--ease); }
.panel-hero h1 { font-size: clamp(1.5rem, 4vw, 2rem); font-weight: 900; margin: 0 0 6px; }
.panel-hero .lead { color: var(--c-muted); margin: 0 0 18px; font-size: 1.02rem; }
.search-wrap { position: relative; text-align: right; }
.search-wrap .input-lg { padding-right: 48px; }
.search-wrap .search-icon { position: absolute; right: 16px; top: 17px; color: var(--c-muted); pointer-events: none; }
.back-btn { position: absolute; right: 16px; top: 14px; background: none; border: none; color: var(--c-primary); font-weight: 700; padding: 6px 8px; border-radius: 8px; display: inline-flex; align-items: center; gap: 4px; }
.back-btn:hover { background: var(--c-accent); }
.teams-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; margin: 6px 0 14px; }
.team-btn { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-height: 92px; padding: 12px 10px; border-radius: 16px; border: 2px solid var(--c-border); background: var(--c-surface); font-weight: 800; font-size: 1rem; transition: transform var(--t-fast) var(--ease), border-color var(--t-fast), box-shadow var(--t-fast); word-break: break-word; }
.team-btn:hover, .team-btn:focus-visible { transform: translateY(-3px); border-color: var(--c-primary); box-shadow: var(--shadow); }
.team-btn .avatar { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; color: #fff; font-weight: 900; font-size: .95rem; }
.links-row { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; margin-top: 8px; font-size: .9rem; }
.links-row button { background: none; border: none; color: var(--c-primary); text-decoration: underline dotted; padding: 4px 0; font-weight: 700; }
.panel-mine h2 { margin: 0 0 10px; font-size: 1.05rem; font-weight: 900; }
.my-teams { display: flex; gap: 10px; flex-wrap: wrap; }
.team-chip { display: inline-flex; align-items: center; gap: 10px; background: var(--c-surface); border: 2px solid var(--c-border); border-radius: 999px; padding: 6px 6px 6px 14px; font-weight: 800; transition: transform var(--t-fast) var(--ease), border-color var(--t-fast); }
.team-chip:hover { transform: translateY(-2px); border-color: var(--c-primary); }
.team-chip .avatar { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: .8rem; font-weight: 900; overflow: hidden; }
.team-chip .avatar img { width: 100%; height: 100%; object-fit: cover; }
.team-chip .t-meta { font-size: .74rem; color: var(--c-muted); font-weight: 600; display: block; }
.team-chip .forget { background: none; border: none; color: var(--c-muted); width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; }
.team-chip .forget:hover { color: var(--c-danger); background: #fde8e8; }
.whats-inside { text-align: center; padding: 10px 8px 0; }
.inside-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 16px; }
.inside-chips span { background: var(--c-surface); border: 1px solid var(--c-border); border-radius: 999px; padding: 5px 12px; font-size: .86rem; font-weight: 700; }
/* השלמה אוטומטית */
.ac-list { position: absolute; top: calc(100% + 6px); right: 0; left: 0; background: var(--c-surface); border: 2px solid var(--c-primary); border-radius: 14px; z-index: 50; max-height: 290px; overflow-y: auto; box-shadow: var(--shadow-lg); display: flex; flex-direction: column; text-align: right; }
.ac-item { background: none; border: none; text-align: right; padding: 11px 14px; display: flex; justify-content: space-between; gap: 8px; align-items: baseline; border-bottom: 1px solid var(--c-border); font-size: 1rem; }
.ac-item:last-child { border-bottom: none; }
.ac-item:hover, .ac-item:focus { background: var(--c-accent); outline: none; }
.ac-item .ac-meta { color: var(--c-muted); font-size: .78rem; }
.ac-other { color: var(--c-primary); font-weight: 800; justify-content: flex-start; gap: 6px; }
/* חלון סיסמה */
.pw-team { display: flex; align-items: center; gap: 12px; background: var(--c-accent); border-radius: 14px; padding: 10px 14px; margin-bottom: 16px; }
.pw-team .avatar { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; color: #fff; font-weight: 900; flex-shrink: 0; }
.pw-team b { display: block; font-size: 1.05rem; }
.pw-team small { color: var(--c-muted); }
/* הקבוצה נוצרה */
.created-hero { text-align: center; padding: 6px 0 14px; }
.created-hero .big { font-size: 3rem; line-height: 1; animation: pop .5s var(--ease); }
.created-hero h3 { margin: 6px 0 4px; font-size: 1.3rem; }
.secret-row { background: #fffbea; border: 1px solid #f3e4a8; border-radius: 14px; padding: 12px 14px; margin-top: 14px; }
.secret-row label { font-size: .86rem; font-weight: 700; display: block; margin-bottom: 6px; }
.secret-row .row { margin-top: 8px; }
@media (max-width: 600px) { .panel-hero { padding: 24px 16px 20px; } .teams-grid { grid-template-columns: 1fr 1fr; } .back-btn { position: static; margin-bottom: 6px; } }
