@import url('https://fonts.googleapis.com/css2?family=Noto+Naskh+Arabic:wght@400;500;600;700&display=swap');
:root{--green:#123d32;--dark:#092d25;--cream:#f6f3ea;--paper:#fffdf8;--ink:#1c332b;--muted:#637369;--line:#d9ded4;--accent:#cf8455}
*{box-sizing:border-box}html{direction:rtl}body{margin:0;background:var(--cream);color:var(--ink);font:17px/1.75 'Noto Naskh Arabic',Tahoma,Arial,sans-serif}h1,h2,h3,p{margin-top:0}a{color:var(--green)}button,input,textarea{font:inherit}button{cursor:pointer}:focus-visible{outline:3px solid var(--accent);outline-offset:3px}.admin-shell{width:min(100% - 44px,1140px);margin-inline:auto}.admin-header{background:var(--dark);color:white}.admin-header-inner{min-height:78px;display:flex;align-items:center;justify-content:space-between;gap:20px}.admin-brand{display:flex;align-items:center;gap:10px;color:white;text-decoration:none;font-weight:700;line-height:1.25}.admin-brand img{width:50px;height:50px;object-fit:contain}.back-site{color:#e1e9dc;font-size:15px}.auth-wrap{min-height:calc(100vh - 78px);display:grid;place-items:center;padding:50px 20px}.auth-card{width:min(100%,500px);padding:38px;background:var(--paper);border:1px solid var(--line);border-top:5px solid var(--accent);box-shadow:0 20px 40px #102f2614}.admin-kicker{color:#a45d3b;font-weight:700;font-size:15px}.auth-card h1,.dashboard-top h1{font-size:38px;line-height:1.3;margin:10px 0 9px}.auth-card p,.dashboard-top p{color:var(--muted);margin-bottom:24px}.auth-card code{font-size:13px;direction:ltr;unicode-bidi:isolate;background:#e7ece3;padding:2px 5px}.auth-form,.password-form{display:grid;gap:16px}.auth-form label,.password-form label,.editor-field{display:grid;gap:6px;font-weight:700}.auth-form input:not([type=range]),.password-form input,.editor-field input:not([type=file]),.editor-field textarea{width:100%;background:white;border:1px solid #bdcabe;border-radius:3px;padding:10px 12px;color:var(--ink);font-weight:400}.editor-field textarea{resize:vertical;min-height:100px;line-height:1.8}.editor-field input[type=file]{width:100%;font-size:14px;font-weight:400}.auth-form input:focus,.editor-field input:focus,.editor-field textarea:focus{border-color:var(--green)}.primary-button,.secondary-button{border:0;border-radius:3px;padding:10px 22px;font-weight:700}.primary-button{background:var(--green);color:white}.primary-button:hover{background:#25604e}.secondary-button{border:1px solid var(--green);background:transparent;color:var(--green)}.secondary-button:hover{background:#e1eadf}.notice{padding:10px 14px;border-radius:3px;margin:18px 0;font-weight:700}.notice.error{background:#fbe8e4;color:#8b2c21}.notice.success{background:#e0eee2;color:#205c3d}.slider-field{display:grid;gap:6px}.slider-field>label{font-weight:700}.slider-field small{color:var(--muted);font-size:13px}.slider-track{position:relative;height:70px;background:#e8eee7;border:1px solid #b6c8ba;border-radius:4px;direction:ltr}.slider-target{position:absolute;left:var(--target);top:3px;transform:translateX(-50%);color:#b0613b;font-size:22px;line-height:1}.slider-track:before{content:'';position:absolute;left:var(--target);top:30px;bottom:12px;border-left:2px dashed #bd7550}.slider-track input[type=range]{position:absolute;left:10px;right:10px;bottom:10px;width:calc(100% - 20px);margin:0;accent-color:var(--green);cursor:grab}.slider-track input[type=range]:active{cursor:grabbing}.slider-track.is-matched{background:#ddecde;border-color:#478b60}.slider-track.is-matched .slider-target{color:#277649}
.dashboard-main{padding-top:50px;padding-bottom:90px}.dashboard-top{display:flex;justify-content:space-between;gap:25px;align-items:start;margin-bottom:20px}.dashboard-top p{max-width:660px}.editor-actions{background:#e2ebe1;border:1px solid #bdcfbe;padding:15px 20px;display:flex;justify-content:space-between;align-items:center;gap:16px;margin:20px 0;font-size:14px;color:#4d6456}.editor-actions a{text-decoration:underline}.editor-section{background:var(--paper);border:1px solid var(--line);margin-bottom:14px}.editor-section summary{cursor:pointer;display:flex;justify-content:space-between;gap:15px;padding:17px 21px;list-style:none}.editor-section summary::-webkit-details-marker{display:none}.editor-section summary:after{content:'⌄';color:#9a603f;font-size:23px;line-height:1}.editor-section[open] summary{border-bottom:1px solid var(--line)}.editor-section[open] summary:after{transform:rotate(180deg)}.editor-section summary strong{font-size:19px}.editor-section summary span{margin-inline-start:auto;color:var(--muted);font-size:14px}.editor-section-body{padding:22px}.visibility-toggle{display:flex;gap:10px;align-items:center;font-weight:700;padding-bottom:18px;border-bottom:1px solid var(--line);margin-bottom:20px}.visibility-toggle input{width:20px;height:20px;accent-color:var(--green)}.editor-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.editor-field{align-content:start;font-size:15px}.editor-field:has(textarea){grid-column:span 2}.current-image{display:block;max-width:220px;max-height:150px;object-fit:cover;border:1px solid var(--line);border-radius:3px}.camp-editor{border:1px solid var(--line);margin:0 0 22px;padding:18px}.camp-editor legend{font-weight:700;font-size:18px;padding:0 8px}.field-note{color:var(--muted)}.password-section{margin-top:45px}.password-form{max-width:500px}.bottom-actions{margin-top:22px}
@media(max-width:700px){.admin-shell{width:min(100% - 28px,1140px)}.auth-card{padding:26px}.auth-card h1,.dashboard-top h1{font-size:31px}.dashboard-top,.editor-actions{flex-direction:column;align-items:stretch}.editor-fields{grid-template-columns:1fr}.editor-field:has(textarea){grid-column:span 1}.editor-section summary{padding:14px}.editor-section-body{padding:16px}.current-image{max-width:100%}.admin-header-inner{min-height:70px}.admin-brand img{width:43px;height:43px}}
.slider-track input[type=range]{left:0;right:0;width:100%}
.auth-secondary,.auth-return{margin:18px 0 0!important}.email-test-form{margin-top:24px}.auth-form input[dir=ltr],.password-form input[dir=ltr]{text-align:left}
