﻿/* Paginа: admin/teachers.html — CSS extraido automaticamente */
:root {
      --bg-main:#F5F2E9;
      --bg-secondary:#181818;
      --bg-card:rgba(255,255,255,.045);
      --bg-card-strong:rgba(255,255,255,.065);
      --gold:#16804A;
      --gold-soft:rgba(22,128,74,.10);
      --green:#16804A;
      --green-soft:rgba(22,128,74,.10);
      --red:#C93632;
      --red-soft:rgba(201,54,50,.10);
      --blue:#3b82f6;
      --blue-soft:rgba(59,130,246,.12);
      --text:#111111;
      --text-soft:#3b3b3b;
      --text-muted:#6f6a5f;
      --border:rgba(17,17,17,.10);
      --glass-bg:#FFFFFF;
      --radius:18px;
      --radius-small:13px;
      --sidebar-width:270px;
    }

    * {
      box-sizing:border-box;
    }

    html {
      scroll-behavior:smooth;
    }

    body {
      margin:0;
      min-height:100vh;
      background:var(--bg-main);
      color:var(--text);
      font-family:'Montserrat',sans-serif;
      font-size:14px;
      overflow-x:hidden;
    }

    body::before {
      content:"";
      position:fixed;
      inset:0;
      background:
        linear-gradient(rgba(11,11,15,.94),rgba(11,11,15,.98)),
        url("/imagens/logoaya2.png");
      background-position:center;
      background-repeat:no-repeat;
      background-size:430px;
      opacity:.16;
      pointer-events:none;
      z-index:-1;
    }

    a {
      color:inherit;
      text-decoration:none;
    }

    button,
    input,
    select,
    textarea {
      font-family:inherit;
    }

        /* =====================================================
           SIDEBAR — PADRAO CANONICO DO PORTAL
        ===================================================== */
        .sidebar{position:fixed;inset:0 auto 0 0;width:var(--sidebar-width);height:100vh;background:var(--bg-secondary);border-right:1px solid var(--border);z-index:1050;display:flex;flex-direction:column;overflow-y:auto;overflow-x:hidden;transition:transform .25s ease;}
        .sidebar-brand{display:flex;align-items:center;gap:11px;padding:20px 18px 18px;border-bottom:1px solid var(--border);text-decoration:none;flex-shrink:0;}
        .sidebar-brand img{width:38px;height:38px;object-fit:contain;flex-shrink:0;}
        .sidebar-brand h5{margin:0;color:var(--gold);font-size:15px;font-weight:800;line-height:1.1;letter-spacing:.8px;}
        .sidebar-brand small{display:block;margin-top:2px;color:var(--text-muted);font-size:9px;font-weight:600;letter-spacing:1px;}
        .sidebar-menu{flex:1;padding:14px 12px;display:flex;flex-direction:column;gap:2px;}
        .sidebar-section{padding:14px 10px 5px;color:var(--text-muted);font-size:9px;font-weight:700;text-transform:uppercase;letter-spacing:1.4px;}
        .sidebar-menu a{display:flex;align-items:center;gap:11px;padding:9px 10px;border-radius:9px;color:var(--text-muted);text-decoration:none;font-size:12px;font-weight:600;transition:.15s ease;}
        .sidebar-menu a i{width:20px;text-align:center;font-size:16px;flex-shrink:0;}
        .sidebar-menu a:hover{background:rgba(255,255,255,.055);color:#fff;}
        .sidebar-menu a.active{background:rgba(255,215,0,.10);color:var(--gold);}
        .sidebar-divider{height:1px;margin:9px 10px;background:rgba(255,255,255,.045);flex-shrink:0;}
        .sidebar-footer{padding:14px 18px;border-top:1px solid var(--border);color:var(--text-muted);font-size:9px;text-align:center;flex-shrink:0;}
        .sidebar-overlay{display:none;position:fixed;inset:0;background:rgba(0,0,0,.7);z-index:1040;}
        .sidebar-overlay.show{display:block;}
        .main-content{margin-left:var(--sidebar-width);min-height:100vh;}
        #menuButton{display:none;align-items:center;justify-content:center;width:38px;height:38px;border:1px solid var(--border);border-radius:10px;background:var(--glass-bg);color:var(--text-muted);font-size:18px;cursor:pointer;flex-shrink:0;}
        #menuButton:hover{background:rgba(255,255,255,.075);color:#fff;}

    .main {
      margin-left:var(--sidebar-width);
      min-height:100vh;
    }

    .topbar {
      position:sticky;
      top:0;
      z-index:900;
      height:68px;
      display:flex;
      align-items:center;
      justify-content:space-between;
      padding:0 30px;
      background:rgba(11,11,15,.84);
      border-bottom:1px solid var(--border);
      backdrop-filter:blur(18px);
    }

    .page-title {
      margin:0;
      font-size:18px;
      font-weight:800;
    }

    .page-subtitle {
      color:var(--text-muted);
      font-size:10px;
      margin-top:2px;
    }

    .topbar-actions {
      display:flex;
      gap:8px;
    }

    .icon-btn {
      width:39px;
      height:39px;
      border:1px solid var(--border);
      border-radius:12px;
      background:var(--bg-card);
      color:var(--text-soft);
      display:flex;
      align-items:center;
      justify-content:center;
      transition:.2s;
    }

    .icon-btn:hover {
      color:var(--gold);
      border-color:rgba(255,215,0,.25);
    }

    .content {
      padding:28px 30px 100px;
      max-width:1500px;
      margin:auto;
    }

    .page-heading {
      display:flex;
      justify-content:space-between;
      align-items:flex-end;
      gap:20px;
      margin-bottom:24px;
    }

    .eyebrow {
      color:var(--gold);
      font-size:9px;
      font-weight:800;
      letter-spacing:1.7px;
      text-transform:uppercase;
      margin-bottom:7px;
    }

    .page-heading h1 {
      margin:0;
      font-size:27px;
      font-weight:800;
    }

    .page-heading p {
      margin:7px 0 0;
      color:var(--text-soft);
      font-size:12px;
      line-height:1.6;
      max-width:650px;
    }

    .btn-aya {
      border:0;
      border-radius:12px;
      padding:11px 16px;
      background:var(--gold);
      color:#111;
      font-size:11px;
      font-weight:800;
      display:inline-flex;
      align-items:center;
      gap:7px;
      white-space:nowrap;
      transition:.2s;
    }

    .btn-aya:hover {
      background:#ffe44d;
      transform:translateY(-1px);
    }

    .btn-outline-aya {
      border:1px solid var(--border);
      border-radius:12px;
      padding:10px 14px;
      background:var(--bg-card);
      color:var(--text-soft);
      font-size:11px;
      font-weight:700;
      display:inline-flex;
      align-items:center;
      gap:7px;
    }

    .btn-outline-aya:hover {
      color:var(--text);
      border-color:rgba(255,255,255,.16);
    }

    .stats-grid {
      display:grid;
      grid-template-columns:repeat(4,1fr);
      gap:14px;
      margin-bottom:22px;
    }

    .stat-card {
      background:var(--bg-card);
      border:1px solid var(--border);
      border-radius:var(--radius);
      padding:18px;
      position:relative;
    }

    .stat-icon {
      width:38px;
      height:38px;
      border-radius:11px;
      display:flex;
      align-items:center;
      justify-content:center;
      margin-bottom:14px;
      font-size:17px;
    }

    .gold {
      color:var(--gold);
      background:var(--gold-soft);
    }

    .green {
      color:#62d462;
      background:var(--green-soft);
    }

    .blue {
      color:#6da8ff;
      background:var(--blue-soft);
    }

    .red {
      color:#ff7770;
      background:var(--red-soft);
    }

    .stat-value {
      font-size:25px;
      font-weight:800;
      line-height:1;
    }

    .stat-label {
      color:var(--text-muted);
      font-size:10px;
      margin-top:7px;
    }

    .stat-detail {
      position:absolute;
      right:16px;
      bottom:18px;
      color:var(--text-muted);
      font-size:9px;
    }

    .panel {
      background:var(--bg-card);
      border:1px solid var(--border);
      border-radius:var(--radius);
      overflow:hidden;
    }

    .toolbar {
      padding:16px;
      border-bottom:1px solid var(--border);
      display:flex;
      justify-content:space-between;
      align-items:center;
      gap:12px;
    }

    .search-box {
      position:relative;
      flex:1;
      max-width:450px;
    }

    .search-box i {
      position:absolute;
      left:13px;
      top:50%;
      transform:translateY(-50%);
      color:var(--text-muted);
    }

    .search-box input {
      width:100%;
      height:40px;
      padding:0 13px 0 37px;
      border:1px solid var(--border);
      border-radius:11px;
      background:rgba(0,0,0,.18);
      color:var(--text);
      outline:none;
      font-size:10px;
    }

    .search-box input::placeholder {
      color:var(--text-muted);
    }

    .search-box input:focus {
      border-color:rgba(255,215,0,.35);
    }

    .filters {
      display:flex;
      gap:7px;
      flex-wrap:wrap;
    }

    .filter-btn {
      border:1px solid var(--border);
      background:transparent;
      color:var(--text-muted);
      border-radius:9px;
      padding:8px 11px;
      font-size:9px;
      font-weight:700;
    }

    .filter-btn.active,
    .filter-btn:hover {
      color:var(--gold);
      border-color:rgba(255,215,0,.28);
      background:var(--gold-soft);
    }

    .teachers-grid {
      padding:18px;
      display:grid;
      grid-template-columns:repeat(3,1fr);
      gap:14px;
    }

    .teacher-card {
      border:1px solid var(--border);
      border-radius:16px;
      background:rgba(255,255,255,.025);
      overflow:hidden;
      transition:.2s;
    }

    .teacher-card:hover {
      border-color:rgba(255,215,0,.18);
      transform:translateY(-2px);
    }

    .teacher-cover {
      height:88px;
      position:relative;
      background:
        linear-gradient(135deg,rgba(255,215,0,.13),rgba(34,139,34,.08)),
        #15151b;
      border-bottom:1px solid var(--border);
    }

    .teacher-avatar {
      position:absolute;
      left:17px;
      bottom:-28px;
      width:66px;
      height:66px;
      border-radius:50%;
      border:4px solid #15151b;
      background:linear-gradient(135deg,#2b2b33,#111116);
      display:flex;
      align-items:center;
      justify-content:center;
      color:var(--gold);
      font-weight:800;
      font-size:16px;
      overflow:hidden;
    }

    .teacher-avatar img {
      width:100%;
      height:100%;
      object-fit:cover;
    }

    .teacher-status {
      position:absolute;
      right:14px;
      top:13px;
      display:inline-flex;
      align-items:center;
      gap:5px;
      padding:5px 8px;
      border-radius:8px;
      font-size:8px;
      font-weight:800;
    }

    .teacher-status::before {
      content:"";
      width:5px;
      height:5px;
      border-radius:50%;
      background:currentColor;
    }

    .active-status {
      color:#63d463;
      background:var(--green-soft);
    }

    .inactive-status {
      color:#ff7770;
      background:var(--red-soft);
    }

    .teacher-body {
      padding:39px 16px 16px;
    }

    .teacher-name {
      font-size:14px;
      font-weight:800;
      margin:0;
    }

    .teacher-handle {
      color:var(--text-muted);
      font-size:9px;
      margin-top:4px;
    }

    .teacher-grade {
      display:inline-flex;
      align-items:center;
      gap:6px;
      margin-top:11px;
      padding:6px 9px;
      border-radius:9px;
      color:var(--gold);
      background:var(--gold-soft);
      font-size:8px;
      font-weight:800;
    }

    .teacher-bio {
      color:var(--text-soft);
      font-size:9px;
      line-height:1.55;
      margin:12px 0;
      min-height:29px;
    }

    .teacher-meta {
      display:flex;
      flex-wrap:wrap;
      gap:6px;
      padding-top:11px;
      border-top:1px solid var(--border);
    }

    .meta-chip {
      display:inline-flex;
      align-items:center;
      gap:5px;
      color:var(--text-muted);
      font-size:8px;
      padding:5px 7px;
      border-radius:7px;
      background:rgba(255,255,255,.035);
    }

    .teacher-actions {
      display:flex;
      gap:6px;
      margin-top:13px;
    }

    .teacher-actions button {
      flex:1;
      min-height:34px;
      border-radius:9px;
      font-size:9px;
      font-weight:700;
    }

    .empty-state {
      display:none;
      text-align:center;
      padding:65px 20px;
    }

    .empty-icon {
      width:55px;
      height:55px;
      border-radius:16px;
      background:var(--bg-card-strong);
      border:1px solid var(--border);
      display:flex;
      align-items:center;
      justify-content:center;
      margin:0 auto 14px;
      color:var(--text-muted);
      font-size:23px;
    }

    .empty-state h3 {
      font-size:14px;
      margin-bottom:6px;
    }

    .empty-state p {
      color:var(--text-muted);
      font-size:10px;
      margin:0;
    }

    .modal-content {
      background:#121218;
      border:1px solid var(--border);
      border-radius:18px;
      color:var(--text);
    }

    .modal-header,
    .modal-footer {
      border-color:var(--border);
    }

    .modal-title {
      font-size:15px;
      font-weight:800;
    }

    .btn-close {
      filter:invert(1);
      opacity:.65;
    }

    .form-label {
      color:var(--text-soft);
      font-size:9px;
      font-weight:700;
      margin-bottom:6px;
    }

    .form-control,
    .form-select {
      background:rgba(255,255,255,.035);
      border:1px solid var(--border);
      color:var(--text);
      border-radius:10px;
      min-height:40px;
      font-size:10px;
    }

    .form-control:focus,
    .form-select:focus {
      background:rgba(255,255,255,.045);
      color:var(--text);
      border-color:rgba(255,215,0,.35);
      box-shadow:none;
    }

    .form-select option {
      background:#121218;
    }

    .form-note {
      color:var(--text-muted);
      font-size:8px;
      margin-top:5px;
    }

    .toast-container {
      position:fixed;
      right:20px;
      bottom:20px;
      z-index:3000;
    }

    .aya-toast {
      background:#17171d;
      border:1px solid var(--border);
      border-radius:12px;
      color:var(--text);
      padding:12px 15px;
      box-shadow:0 15px 40px rgba(0,0,0,.35);
      font-size:10px;
      display:flex;
      align-items:center;
      gap:9px;
      min-width:230px;
    }

    .aya-toast i {
      color:var(--gold);
      font-size:16px;
    }

    .mobile-topbar,
    .bottom-nav {
      display:none;
    }

    @media (max-width:1100px) {
      .teachers-grid {
        grid-template-columns:repeat(2,1fr);
      }

      .stats-grid {
        grid-template-columns:repeat(2,1fr);
      }
    }

    @media (max-width:900px) {

      .topbar {
        display:none;
      }

      .main {
        margin-left:0;
      }

      .mobile-topbar {
        display:flex;
        position:sticky;
        top:0;
        z-index:900;
        height:62px;
        align-items:center;
        justify-content:space-between;
        padding:0 15px;
        background:rgba(11,11,15,.9);
        border-bottom:1px solid var(--border);
        backdrop-filter:blur(18px);
      }

      .mobile-brand {
        display:flex;
        align-items:center;
        gap:9px;
      }

      .mobile-brand img {
        width:32px;
        height:32px;
        object-fit:contain;
      }

      .mobile-brand strong {
        font-size:12px;
      }

      .mobile-actions {
        display:flex;
        gap:6px;
      }

      .mobile-actions .icon-btn {
        width:34px;
        height:34px;
        border-radius:10px;
      }

      .content {
        padding:22px 15px 95px;
      }

      .page-heading {
        flex-direction:column;
        align-items:flex-start;
      }

      .page-heading h1 {
        font-size:23px;
      }

      .page-heading p {
        font-size:10px;
      }

      .page-heading .btn-aya {
        width:100%;
        justify-content:center;
      }

      .toolbar {
        flex-direction:column;
        align-items:stretch;
      }

      .search-box {
        max-width:none;
      }

      .filters {
        overflow-x:auto;
        flex-wrap:nowrap;
      }

      .filter-btn {
        white-space:nowrap;
      }

      .bottom-nav {
        position:fixed;
        left:10px;
        right:10px;
        bottom:10px;
        height:66px;
        border:1px solid var(--border);
        border-radius:18px;
        background:rgba(16,16,21,.94);
        backdrop-filter:blur(20px);
        z-index:1500;
        display:flex;
        align-items:center;
        justify-content:space-around;
        box-shadow:0 12px 35px rgba(0,0,0,.35);
      }

      .bottom-nav a {
        width:55px;
        display:flex;
        flex-direction:column;
        align-items:center;
        gap:4px;
        color:var(--text-muted);
        font-size:8px;
        font-weight:600;
      }

      .bottom-nav i {
        font-size:18px;
      }

      .bottom-nav a.active {
        color:var(--gold);
      }

      .bottom-nav .center {
        width:48px;
        height:48px;
        margin-top:-25px;
        border-radius:15px;
        background:var(--gold);
        color:#111;
        display:flex;
        align-items:center;
        justify-content:center;
      }

      .bottom-nav .center span {
        display:none;
      }
    }

    @media (max-width:575px) {
      .stats-grid {
        gap:9px;
      }

      .stat-card {
        padding:14px;
      }

      .stat-value {
        font-size:21px;
      }

      .stat-label {
        font-size:8px;
      }

      .stat-detail {
        display:none;
      }

      .teachers-grid {
        grid-template-columns:1fr;
        padding:12px;
      }
    }

        @media(max-width:991px){.sidebar{transform:translateX(-100%);}.sidebar.show{transform:translateX(0);}.main-content{margin-left:0;}#menuButton{display:flex;}}
        @media(min-width:992px){#menuButton{display:none;}}
          /* ===== IEPLUS_LIGHT_OVERRIDES : IÃŠ+ tema claro (estrutura/navegaÃ§Ã£o preta com texto claro) ===== */
        .topbar,.sidebar,.sidebar-header,.bottom-navigation,.bottom-nav,.side-nav,.nav-drawer,.app-nav{background:#111111 !important;}
        .topbar,.topbar *,.sidebar *,.bottom-navigation *,.bottom-navigation a,.bottom-navigation i,.bottom-navigation span{color:rgba(255,255,255,.85) !important;}
        .sidebar a.active,.sidebar .active,.bottom-navigation .active{color:#8FE6B4 !important;}
        .sidebar a.active,.bottom-navigation .active{background:rgba(22,128,74,.30) !important;}