/* Bhakthi Tharangini V11.01 -- scoped, non-invasive responsive popup patch */
[data-btux-root] {
  --btux-ink: #352716;
  --btux-muted: #786951;
  --btux-border: #ead5b5;
  --btux-accent: #d5680b;
  --btux-cream: #fffaf1;
  --btux-orange-soft: #fff1df;
  font-family: system-ui, 'Noto Sans Telugu', 'Gautami', sans-serif;
  color: var(--btux-ink);
  background: var(--btux-cream) !important;
  box-sizing: border-box;
  padding: clamp(14px, 2.4vw, 34px) !important;
  line-height: 1.65;
  max-height: 100dvh;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-gutter: stable;
}
[data-btux-root] *, [data-btux-root] *::before, [data-btux-root] *::after { box-sizing:border-box; }
[data-btux-root] :is(h1,h2,h3) { color:#422a11; line-height:1.4; overflow-wrap:anywhere; }
[data-btux-root] h1 { font-size:clamp(1.3rem,2vw,1.9rem); margin:.6rem 0 .65rem; }
[data-btux-root] h2 { font-size:clamp(1.12rem,1.6vw,1.4rem); margin:1.2rem 0 .55rem; }
[data-btux-root] h3 { font-size:1.06rem; }
[data-btux-root] p { margin:.6rem 0 1rem; overflow-wrap:anywhere; }
[data-btux-root] :is(input,select,textarea,button) {
  font: inherit;
  font-size:.95rem;
  max-width:100%;
}
[data-btux-root] :is(input:not([type=checkbox]):not([type=radio]):not([type=file]),select,textarea) {
  padding:.65rem .8rem;
  min-height:43px;
  background:#fff;
  color:var(--btux-ink);
  border:1px solid #d9bf9e;
  border-radius:10px;
  box-shadow:none;
  margin:3px 5px 7px 0;
}
[data-btux-root] select { min-width:min(160px,100%); }
[data-btux-root] input[type=date] { min-width:164px; }
[data-btux-root] input[type=file] {
  display:inline-block; max-width:100%; padding:10px; border:1px dashed #ddb986;
  border-radius:12px; background:#fff;
}
[data-btux-root] :is(button,[type=submit],[type=button]) {
  padding:.52rem .85rem;
  min-height:40px;
  border:1px solid #e8bc8e;
  background:var(--btux-orange-soft);
  color:#8d3f07;
  border-radius:10px;
  font-weight:700;
  cursor:pointer;
  transition:background-color 120ms ease, transform 120ms ease;
}
[data-btux-root] button:not(:disabled):hover { background:#ffe3bd; }
[data-btux-root] button:active { transform:translateY(1px); }
[data-btux-root] :is(button,input,select,textarea):focus-visible {
  outline:3px solid #b76912;
  outline-offset:2px;
}
[data-btux-root] button:disabled { opacity:.55; cursor:not-allowed; }
[data-btux-root] .btux-close {
  float:right;
  position:sticky;
  top:0;
  z-index:10;
  background:#fff !important;
  border:1px solid var(--btux-border) !important;
  color:#71390d !important;
  box-shadow:0 2px 10px #5c340c17;
  margin-left:10px;
}
[data-btux-root] .btux-notice {
  clear:both;
  margin:12px 0 18px;
  padding:11px 14px;
  background:#fff0d7;
  border:1px solid #e9c08d;
  border-left:4px solid #b26712;
  border-radius:12px;
  line-height:1.7;
  font-size:.9rem;
}
[data-btux-root] .btux-errors {
  border:1px solid #d78674; background:#fff1ed; color:#842b17;
  border-radius:10px; margin:10px 0; padding:10px 12px;
  font-size:.9rem;
}
[data-btux-root] .btux-feedback { font-size:.86rem; color:#705637; margin:6px 0 12px; }
[data-btux-root] [aria-invalid=true] { border-color:#c63e27 !important; box-shadow:0 0 0 2px #eab1a240; }
[data-btux-root] .btux-table-scroll {
  width:100%; max-width:100%; overflow-x:auto;
  border:1px solid var(--btux-border); border-radius:14px;
  background:#fff; margin:14px 0 22px;
  box-shadow:0 5px 20px #542c0b0b;
  overscroll-behavior-x: contain;
}
[data-btux-root] table {
  width:100%; min-width:720px;
  border-collapse:separate; border-spacing:0;
  font-size:.9rem; font-variant-numeric:tabular-nums;
  background:#fff;
}
[data-btux-root] table th,
[data-btux-root] table td {
  padding:11px 14px; border-bottom:1px solid #f0e3cf;
  vertical-align:top; line-height:1.5; text-align:left;
  overflow-wrap:anywhere;
}
[data-btux-root] table th {
  position:sticky; top:0; background:#fff0d8;
  color:#67360c; font-weight:750; z-index:1;
  white-space:nowrap;
}
[data-btux-root] tbody tr:hover td {background:#fffaf0;}
[data-btux-root] tbody tr:last-child td {border-bottom:0;}
[data-btux-root] .btux-difference {
  display:block; margin-top:4px; padding:2px 7px;
  max-width:max-content; color:#96520b; background:#fff1d8;
  border:1px solid #e5c795; border-radius:6px;
  font-size:.78rem; font-weight:700;
}
[data-btux-root] .btux-date-caption {
  display:inline-block; font-size:.79rem; color:#775c3c;
  margin:0 10px 8px 0; vertical-align:middle;
}
[data-btux-root] label { line-height:1.7; }
[data-btux-root] :is(form,fieldset) { max-width:100%; }
[data-btux-root] fieldset {
  border:1px solid var(--btux-border); border-radius:12px; margin:12px 0; padding:12px;
}
[data-btux-root] .btux-file-status {background:#f3f8f0; border:1px solid #c7dec3; border-radius:10px; padding:10px; margin:10px 0; font-size:.87rem;}
@media (max-width:760px) {
  [data-btux-root] {padding:14px !important; max-height:100dvh;}
  [data-btux-root] :is(input:not([type=checkbox]):not([type=radio]):not([type=file]),select,textarea){max-width:100%;}
  [data-btux-root] table {min-width:620px; font-size:.82rem;}
  [data-btux-root] table :is(th,td){padding:9px 10px;}
  [data-btux-root] .btux-close {position:sticky; right:0;}
}
@media (prefers-reduced-motion:reduce){[data-btux-root] button{transition:none;}}
