/* ================================================
   Stock Exchange Filings — Public Styles
   Prefix: .sef-  (zero conflicts with other plugins)
   ================================================ */

.sef-widget {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    width: 100%;
    max-width: 100%;
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
    box-sizing: border-box;
}
.sef-widget *, .sef-widget *::before, .sef-widget *::after { box-sizing: border-box; }

/* ── Year Bar (right-aligned) ── */
.sef-year-bar {
    padding: 18px 32px 14px;
    border-bottom: 1px solid #ececec;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}
.sef-year-inner { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.sef-year-inner label { font-size: 15px; font-weight: 500; color: #333; margin: 0; padding: 0; white-space: nowrap; }

.sef-sel-wrap { position: relative; display: inline-flex; align-items: center; }
.sef-year-sel {
    appearance: none; -webkit-appearance: none;
    background: #fff; border: 1px solid #d0ccc4; border-radius: 4px;
    padding: 7px 34px 7px 14px; font-size: 15px; font-weight: 500;
    color: #333; cursor: pointer; min-width: 100px; outline: none; line-height: 1.4;
    transition: border-color .2s;
}
.sef-year-sel:focus { border-color: #c9a96e; box-shadow: 0 0 0 2px rgba(201,169,110,.12); }
.sef-arrow { position: absolute; right: 10px; pointer-events: none; font-size: 20px; color: #888; top: 50%; transform: translateY(-50%); }
.sef-arrow:before {
    content: "";
    background: url(https://urbanshoppy.co.in/modi/wp-content/uploads/2026/06/arrowDown.svg);
    position: absolute;
    right: 0;
    width: 12px;
    height: 7px;
    transition: all 1s cubic-bezier(0.075,0.82,0.165,1);
    top: 50%;
    transform: translateY(-50%);
}

/* ── Quarter Tabs ── */
.sef-quarter-tabs {
    display: flex;
    align-items: center;
    padding: 0 18px;
    border-bottom: 1.5px solid #ececec;
    background: #fff;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}
.sef-quarter-tabs::-webkit-scrollbar { display: none; }

.sef-quarter-tab {
    background: none; border: none;
    border-bottom: 2.5px solid transparent;
    margin-bottom: -1.5px;
    padding: 15px 20px;
    font-size: 14px; font-weight: 500; color: #888;
    cursor: pointer; white-space: nowrap; flex-shrink: 0;
    outline: none; transition: color .18s, border-color .18s;
}
.sef-quarter-tab:hover { color: #c9a96e; }
.sef-quarter-tab.active { color: #c9a96e; border-bottom-color: #c9a96e; font-weight: 600; }

/* ── Main Tabs ── */
.sef-main-tabs {
    display: flex;
    align-items: center;
    padding: 0 18px;
    border-bottom: 1.5px solid #ececec;
    background: #fff;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}
.sef-main-tabs::-webkit-scrollbar { display: none; }

.sef-main-tab {
    background: none; border: none;
    border-bottom: 2.5px solid transparent;
    margin-bottom: -1.5px;
    padding: 15px 22px;
    font-size: 14px; font-weight: 500; color: #888;
    cursor: pointer; white-space: nowrap; flex-shrink: 0;
    outline: none; transition: color .18s, border-color .18s;
}
.sef-main-tab:hover { color: #c9a96e; }
.sef-main-tab.active { color: #c9a96e; border-bottom-color: #c9a96e; font-weight: 600; }

/* ── Sub-Tabs ── */
.sef-sub-tabs {
    display: flex;
    align-items: center;
    padding: 0 18px;
    border-bottom: 1.5px solid #ececec;
    background: #fafaf8;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}
.sef-sub-tabs::-webkit-scrollbar { display: none; }

.sef-sub-tab {
    background: none; border: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -1.5px;
    padding: 12px 20px;
    font-size: 13.5px; font-weight: 500; color: #999;
    cursor: pointer; white-space: nowrap; flex-shrink: 0;
    outline: none; transition: color .18s, border-color .18s;
}
.sef-sub-tab:hover { color: #c9a96e; }
.sef-sub-tab.active { color: #c9a96e; border-bottom-color: #c9a96e; font-weight: 600; }

/* ── Document Rows ── */
.sef-docs { width: 100%; background: #fff; min-height: 80px; position: relative; }

.sef-doc-row {
    display: flex; align-items: center; justify-content: space-between;
    padding: 18px 32px; border-bottom: 1px solid #f0eeea;
    width: 100%; gap: 12px; transition: background .15s;
}
.sef-doc-row:last-child { border-bottom: none; }
.sef-doc-row:hover { background: #fdf9f3; }

.sef-doc-label { font-size: 14.5px; color: #2c2c2c; font-weight: 400; flex: 1; min-width: 0; word-break: break-word; }

.sef-view-btn {
    font-size: 13.5px; color: #c9a96e; text-decoration: none;
    font-weight: 500; flex-shrink: 0; white-space: nowrap; transition: color .15s;
}
.sef-view-btn:hover { color: #a07830; }

/* ── Audio ── */
.sef-audio-row { flex-wrap: wrap; gap: 10px; padding: 14px 32px; }
.sef-audio-player audio { height: 36px; width: 260px; max-width: 100%; outline: none; border-radius: 20px; display: block; }

/* ── Loader ── */
.sef-loader { position: absolute; inset: 0; background: rgba(255,255,255,.82); display: flex; align-items: center; justify-content: center; z-index: 10; }
.sef-spinner { width: 32px; height: 32px; border: 3px solid #e8dcc8; border-top-color: #c9a96e; border-radius: 50%; animation: sef-spin .7s linear infinite; }
@keyframes sef-spin { to { transform: rotate(360deg); } }

/* ── Empty ── */
.sef-no-data { padding: 36px 32px; color: #aaa; font-size: 14px; text-align: center; font-style: italic; }

/* ── Tablet ≤768px ── */
@media (max-width: 768px) {
    .sef-year-bar    { padding: 14px 20px 12px; justify-content: flex-start; }
    .sef-doc-row     { padding: 15px 20px; }
    .sef-audio-row   { padding: 14px 20px; }
    .sef-no-data     { padding: 28px 20px; }
    .sef-quarter-tab { padding: 13px 15px; font-size: 13.5px; }
    .sef-main-tab    { padding: 13px 16px; font-size: 13.5px; }
    .sef-sub-tab     { padding: 11px 14px; font-size: 13px; }
}

/* ── Mobile ≤480px ── */
@media (max-width: 480px) {
    .sef-year-bar         { padding: 12px 14px 10px; }
    .sef-year-inner       { gap: 8px; }
    .sef-year-inner label { font-size: 14px; }
    .sef-year-sel         { font-size: 14px; padding: 6px 28px 6px 10px; min-width: 85px; }
    .sef-quarter-tabs,
    .sef-main-tabs,
    .sef-sub-tabs         { padding: 0 6px; }
    .sef-quarter-tab      { padding: 11px 11px; font-size: 13px; }
    .sef-main-tab         { padding: 11px 12px; font-size: 13px; }
    .sef-sub-tab          { padding: 10px 10px; font-size: 12.5px; }
    .sef-doc-row          { padding: 14px 14px; gap: 8px; }
    .sef-doc-label        { font-size: 13.5px; }
    .sef-view-btn         { font-size: 13px; }
    .sef-audio-row        { padding: 12px 14px; flex-direction: column; align-items: flex-start; gap: 8px; }
    .sef-audio-player audio { width: 100%; }
    .sef-no-data          { padding: 24px 14px; font-size: 13px; }
}

@media (max-width: 360px) {
    .sef-quarter-tab { padding: 10px 8px; font-size: 12px; }
    .sef-main-tab    { padding: 10px 9px; font-size: 12px; }
    .sef-sub-tab     { padding: 9px 8px;  font-size: 12px; }
}


