.tashkeel-page{
  background:#fffaf3;
  color:#2e241b;
  font-family:"Cairo","Segoe UI",Tahoma,Arial,sans-serif;
  line-height:1.95;
}

.tashkeel-page *{box-sizing:border-box;}

.tashkeel-main{
  width:min(1120px,calc(100% - 32px));
  margin:0 auto;
  padding:34px 0 58px;
}

.tashkeel-page .breadcrumbs{
  font-size:.92rem;
  color:#806344;
  margin:0 0 16px;
}

.tashkeel-page .breadcrumbs a{
  color:#6c472b;
  text-decoration:none;
}

.tashkeel-hero{
  background:linear-gradient(135deg,#fff5e5,#f7ead8);
  border:1px solid rgba(121,83,43,.18);
  border-radius:28px;
  padding:30px;
  box-shadow:0 14px 38px rgba(72,46,22,.08);
  margin-bottom:22px;
  overflow:hidden;
}

.tashkeel-kicker,
.panel-kicker{
  display:inline-flex;
  align-items:center;
  width:max-content;
  background:#fff;
  border:1px solid rgba(121,83,43,.18);
  border-radius:999px;
  padding:5px 13px;
  font-size:.9rem;
  color:#7a5633;
  margin-bottom:12px;
}

.tashkeel-hero h1{
  font-size:clamp(2rem,5vw,4.2rem);
  line-height:1.18;
  margin:0 0 12px;
  color:#07364a;
  letter-spacing:-.02em;
  overflow-wrap:break-word;
}

.tashkeel-hero p{
  font-size:1.07rem;
  margin:0;
  color:#594431;
  max-width:920px;
}

.tashkeel-workspace{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  gap:18px;
  align-items:start;
}

.tashkeel-panel,
.tashkeel-note{
  background:#fff;
  border:1px solid rgba(121,83,43,.14);
  border-radius:24px;
  padding:24px;
  margin:0;
  box-shadow:0 8px 24px rgba(72,46,22,.045);
}

.tashkeel-note{
  margin-top:18px;
  background:#fff7df;
  border-color:rgba(170,125,40,.25);
}

.tashkeel-note h2,
.tashkeel-panel h2{
  font-size:1.24rem;
  line-height:1.45;
  margin:0;
  color:#302218;
}

.tashkeel-note p{
  margin:0;
  color:#4b3829;
}

.panel-heading{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:14px;
  margin-bottom:14px;
}

.character-counter{
  direction:ltr;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:86px;
  padding:5px 10px;
  border-radius:999px;
  border:1px solid rgba(121,83,43,.16);
  background:#fff8ee;
  color:#6d5947;
  font-size:.86rem;
  white-space:nowrap;
}

.tashkeel-form{
  display:grid;
  gap:12px;
}

.field-label{
  display:block;
  margin:0 0 6px;
  font-weight:700;
  color:#3c2a1d;
}

.tashkeel-page textarea,
.tashkeel-page select{
  width:100%;
  border:1px solid rgba(121,83,43,.24);
  border-radius:18px;
  background:#fffaf3;
  color:#2e241b;
  font:inherit;
  outline:none;
}

.tashkeel-page textarea{
  resize:vertical;
  min-height:100px;
  padding:16px;
  line-height:2;
  direction:rtl;
  unicode-bidi:plaintext;
}

.tashkeel-page textarea::placeholder{
  color:#8a7460;
}

.tashkeel-page textarea:focus,
.tashkeel-page select:focus{
  border-color:#7b4f2d;
  box-shadow:0 0 0 3px rgba(123,79,45,.12);
  background:#fff;
}

.tashkeel-options{
  display:grid;
  grid-template-columns:minmax(220px,320px) minmax(0,1fr);
  gap:14px;
  align-items:end;
}

.select-field{
  display:grid;
  gap:6px;
  color:#4b3829;
}

.tashkeel-options select{
  height:48px;
  padding:0 14px;
}

.check-option{
  display:flex;
  flex-direction:row;
  align-items:center;
  gap:9px;
  min-height:48px;
  background:#fff8ee;
  border:1px solid rgba(121,83,43,.14);
  border-radius:16px;
  padding:12px 14px;
  color:#4b3829;
}

.check-option input{
  width:18px;
  height:18px;
  accent-color:#7b4f2d;
  flex:0 0 auto;
}

.tashkeel-actions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  align-items:center;
  margin-top:8px;
}

.tashkeel-page .btn{
  min-height:44px;
}

.status-message{
  min-height:44px;
  margin:0 0 12px;
  padding:10px 14px;
  border-radius:16px;
  background:#fff8ee;
  border:1px solid rgba(121,83,43,.14);
  color:#66513f;
  font-size:.96rem;
}

.status-message[data-type="success"]{
  color:#2f6b34;
  background:#f3fff0;
  border-color:rgba(60,130,65,.2);
}

.status-message[data-type="error"]{
  color:#9a2d23;
  background:#fff4f2;
  border-color:rgba(160,45,35,.2);
}

.status-message[data-type="warning"]{
  color:#8a5b00;
  background:#fff7df;
  border-color:rgba(170,125,40,.25);
}

.result-note{
  margin-top:14px;
  padding:12px 14px;
  border-radius:16px;
  background:#fff7df;
  border:1px solid rgba(170,125,40,.25);
  color:#4b3829;
  font-size:.95rem;
}

@media(max-width:900px){
  .tashkeel-workspace{grid-template-columns:1fr;}
  .tashkeel-page textarea{min-height:220px;}
}

@media(max-width:700px){
  .tashkeel-main{
    width:min(100% - 22px,1120px);
    padding-top:22px;
  }

  .tashkeel-hero,
  .tashkeel-panel,
  .tashkeel-note{
    padding:18px;
    border-radius:20px;
  }

  .tashkeel-hero h1{
    font-size:clamp(1.85rem,11vw,2.7rem);
  }

  .panel-heading{
    flex-direction:column;
    align-items:stretch;
  }

  .character-counter{
    align-self:flex-start;
  }

  .tashkeel-options{grid-template-columns:1fr;}

  .tashkeel-actions .btn{
    width:100%;
    justify-content:center;
  }
}
