.main-nemu{
    margin-right: 85px;
}

.popup-instruction{
    right: 22px!important;
}

.main-nemu ul li {
    padding: 0 0 0 20px;
}

.new-main-header{
    background:#1c3268;
}
.main-header .container{
    display: inline-flex;
}

.new-main-footer{
    background:#10182e !important;
}

.new-main-footer p{
   color: #9a9fb1;
   font-size: 14px;
}

.notifi_icnbx{
    position: relative;
}

.notifi_count{
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 100%;
    background: red;
    color: #fff;
    font-size: 11px;
    line-height: 20px;
    display: block;
    right: -14px;
    top: -10px;
    text-align: center;
}

.new-main-header ul li a,
.popup-instruction{
    outline: none;
}


.login-hdr .main-nemu li a:hover{
    color: #d1ecff;
}



/* Search wrapper */
.header-search {
    flex: 1;
    display: inline-block;
    width: 500px;
    justify-content: center;
    padding: 0 25px;
    margin-top: 14px;
}

/* Search box */
.header-search-box {
    /* width: 100%;
    max-width: 450px; */
    height: 36px;
    display: flex;
    align-items: center;
    background: #f4f7fb;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 0 10px 0 13px;
    transition: all 0.2s ease;
}

/* Search icon */
.header-search-box > i {
    color: #9aaac0;
    font-size: 15px;
    margin-right: 11px;
}

/* Input */
.header-search-box input {
    flex: 1;

    width: 100%;
    height: 100%;

    border: 0;
    outline: 0;

    background: transparent;

    color: #475569;
    font-size: 14px;
    font-family: Arial, Helvetica, sans-serif;
}

/* Placeholder */
.header-search-box input::placeholder {
    color: #93a4bb;
    opacity: 1;
}

/* Focus */
.header-search-box:focus-within {
    background: #fff;
    border-color: #cbd5e1;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.08);
}

/* "/" keyboard shortcut */
.search-shortcut {
    width: 22px;
    height: 22px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid #d5dce5;
    border-radius: 4px;

    background: #fff;

    color: #94a3b8;
    font-size: 12px;
    font-family: Arial, Helvetica, sans-serif;

    flex-shrink: 0;
}



.wlcom-bx{
    border-radius:24px;
    background-color: rgb(9, 63, 133);
    border:1px solid #1b3366;
    padding:25px;
}

.summary-card.sky-blu{
    background: linear-gradient(135deg, #5960df 0%, #008fee 55%, #08c5dd 100%); 
}

.summary-card.purpl{
     background: linear-gradient(135deg, #8523a0 0%, #8442d0 50%, #bb85ff 100%);;
}

.summary-card.red{ background: linear-gradient(135deg, #ef5f69 0%, #dd7779 55%, #d98f88 100%); }

.sesion-dat-cel{
    margin:0;
    padding: 0;
}

.sesion-dat-cel li{
    display: inline-block;
    width: 49%;
    font-size: 13px;
    color: #fff;
}

.sesion-dat-cel li:last-child{
    text-align: right;
}

.sesion-dat-cel li:first-child span{
    border: 1px solid #217ac5;
    border-radius: 50px;
    padding: 6px 15px;
    background-color: #065ca4;
}

.wlcom-bx h1{
    color: #fff;
    margin: 10px 0px 5px;
}

.wlcom-bx p{
    color: #fff;
    font-size: 14px;
}

.wlcom-bx hr{
   border-top: 1px solid #848ac069;
}


    .summary-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 16px;
      max-width: 1180px;
      margin: 0 auto;
    }

    .summary-card {
      position: relative;
      display: block;
      min-height: 100px;
      padding: 15px 46px 15px 14px;
      overflow: hidden;
      color: inherit;
      text-decoration: none;
      background: #20569f;
      border: 1px solid #3e6aa7;
      border-radius: 16px;
      box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.025);
      transition: transform .22s ease, background .22s ease, border-color .22s ease, box-shadow .22s ease;
    }

    .summary-card:hover {
      transform: translateY(-1px);
      border-color: rgba(255, 255, 255, 0.24);
      box-shadow: 0 12px 25px rgba(4, 10, 28, 0.28);
    }

    .summary-card:active { transform: translateY(-1px) scale(.995); }

    .summary-card:focus-visible {
      outline: 3px solid rgba(255, 255, 255, 0.86);
      outline-offset: 3px;
    }

    .card-label {
      margin: 0 0 7px;
      color: var(--muted);
      font-size: 13px;
      font-weight: 700;
      letter-spacing: .15px;
      text-transform: uppercase;
    }

    .card-value {
      margin: 0 0 3px;
      font-size: 27px !important;
      font-weight: 800;
      line-height: 1;
      letter-spacing: -.7px;
    }

    .card-note {
      margin: 0;
      font-size: 11px;
      font-weight: 700;
      line-height: 1.25;
    }

    .studnt-tab li span{
         width: 136px !important;
         border-radius: 10px 10px 0 0 !important;
    }




    .schedule-card {
      /* width: min(100%, 392px); */
      min-width: 100%;
      padding: 24px 20px;
      background: #d8e7ff;
      border: 1px solid #b7d1fa;
      border-radius: 24px;
      box-shadow: 0 9px 16px rgba(21, 40, 65, .12), 0 2px 3px rgba(21, 40, 65, .12);
    }

    .schedule-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 14px;
      margin-bottom: 16px;
    }

    .schedule-header h2{
        font-size: 25px;
        margin-top: 0px;
        font-weight: 600;
    }

    .title-wrap { display: flex; align-items: center; gap: 10px; min-width: 0; }

    .schedule-header .title-wrap span{
        padding: 2px 4px;
    }

    .schedule-header .calendar-icon {
      display: grid;
      place-items: center;
      flex: 0 0 32px;
      width: 32px;
      height: 32px;
      color: var(--primary);
      background: var(--primary-soft);
      border-radius: 12px;
    }

    .schedule-header .calendar-icon svg { 
       width: 30px;
       height: 24px;
       color: #204bc3;
     }

    .schedule-card span span {
        padding: 6px 2px; }   

    /* .schedule-title {
      margin: 0;
      overflow: hidden;
      font-size: 16px;
      font-weight: 800;
      letter-spacing: .15px;
      text-overflow: ellipsis;
      text-transform: uppercase;
      white-space: nowrap;
    } */

    .rght-tabs {
        display: grid;
        grid-template-columns: 1fr 1fr;
        flex: 0 0 auto;
        padding: 3px 8px;
        background: #004cb5;
        border-radius: 20px;
    }

    .rght-tabs li span {
      min-width: 48px;
      padding: 4px 8px !important;
      border: 0;
      border-radius: 11px;
    
      color: #fff;
      background: transparent;
      font: 600 11px/1 Arial, sans-serif;
      cursor: pointer;
      text-align: center;
      transition: color .2s ease, background .2s ease, box-shadow .2s ease;
    }

    .rght-tabs li:hover { color: var(--primary); }
    .rght-tabs li span.active {
      color: var(--primary);
      background: #fff;
      padding: 2px;
      box-shadow: 0 2px 7px rgba(38, 49, 78, .08);
      line-height: 9px;
    }
    .rght-tabs li span:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }

    .class-list { display: grid; gap: 2px; }

    .class-item {
      width: 100%;
      min-height: 52px;
      padding: 10px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      border: 0;
      border-radius: 13px;
      color: inherit;
      text-align: left;
      background: var(--soft);
      cursor: pointer;
      transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
    } 

    .class-item:hover { transform: translateY(0px);  }
    .class-item:active { transform: translateY(0); }
    .class-item:focus-visible { 
        outline: 2px solid var(--primary); 
        outline-offset: 2px; }

    /* .class-copy { min-width: 0; } */
    .class-time { 
        display: block; 
        margin-bottom: 2px; 
        font-size: 13px; 
        font-weight: 800; }

    .class-name { 
        display: block; 
        overflow: hidden; 
        color: var(--muted); 
        font-size: 12px; 
        line-height: 1.25; 
        text-overflow: ellipsis; 
        white-space: nowrap; }

    .status {
      flex: 0 0 auto;
      min-width: 34px;
      padding: 5px 8px;
      border-radius: 5px;
      font-size: 12px;
      font-weight: 800;
      text-align: center;
    }
    .status.live { color: var(--green); background: var(--green-bg); }
    .status.lab { color: var(--purple); background: var(--purple-bg); }
    .status.lecture { color: var(--orange); background: var(--orange-bg); }

    /* .empty-state { padding: 26px 12px; color: var(--muted); text-align: center; font-size: 13px; background: var(--soft); border-radius: 13px; } */

    .schedule-footer {
      display: block;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      margin-top: 2px;
      padding-top: 17px;
      text-align: end;
    }
  
    .full-link { 
        color: #093f85; 
        font-size: 12px; 
        font-weight: 800; 
        text-decoration: none; 
        white-space: nowrap; 
        outline: none !important; 
        border:0px; }

    .full-link:hover { 
        text-decoration: underline; 
        color: #0d5dc5;}

    .full-link:focus-visible { 
        outline: 2px solid var(--primary); 
        outline-offset: 3px; 
        border-radius: 2px; }

    .class-list.is-changing { animation: fadeIn .22s ease; }

    /* .scrol-class-list{
        height: 136px;
        overflow-y: scroll;
    }

    .schedule-card .class-item{
        display: inline-flex;
    } */

    


    @keyframes fadeIn { from { opacity: .15; transform: translateY(4px); } to { opacity: 1; transform: translateY(0); } }

     .tab-titl-panl{
        float: left;
     }

     .tab-titl-panl h5{
        font-size: 22px;
        font-weight: 700;
        color: #6075a6;
     }

     .tabs.studnt-tab{
        float: inline-end;
        padding-left: 0;
     }

     .tabs.studnt-tab li span{
        width: 150px;
     }



    .studnt-dasbrd-sec .tabs{
        max-width: 100%;
    } 

    .student-card-grid {
            display: grid;
            grid-template-columns: repeat(5, minmax(190px, 1fr));
            gap: 16px;
            width: 100%;
            margin: 20px auto 10px;
        }

        .student-card {
            position: relative;
            display: flex;
            flex-direction: column;
            min-height: 165px;
            overflow: hidden;
            color: inherit;
            text-decoration: none;
            background: #ffffff;
            border: 1px solid #e5e9f0;
            border-radius: 17px;
            box-shadow: 0 3px 10px rgba(29, 46, 72, 0.04);
            transition:
            transform 0.2s ease,
            box-shadow 0.2s ease,
            border-color 0.2s ease;}

        .student-card{        
                outline: none !important;
        }

        .student-card:hover {
            transform: translateY(-5px);
            border-color: #4f7fd7;
            background-color: #e0f3ff;
            box-shadow: 0 12px 25px rgba(29, 46, 72, 0.12);
        }

        .student-card.active {
            border-color: #4f7fd7;
        }

        .student-card:focus-visible {
            outline: 3px solid rgba(98, 92, 255, 0.35);
            outline-offset: 3px;
        }

        .card-body {
            flex-grow: 1;
            padding: 14px 16px 12px;
            text-align: center;
        }

        .card-body figure{
            width: 80px;
            height:80px;
            float: none;
            margin: 0px auto;
        }

        /* .card-top {
            display: flex;
            align-items: flex-start;
            justify-content: space-between;
            margin-bottom: 13px;
        } */



        /* .card-top .icn-bx{
            border:1px solid #333;
            border-radius: 20px;
            height: 50px;
            width: ;
        } */

        /* .card-icon {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 53px;
            height: 53px;
            color: #ffffff;
            border-radius: 17px;
            box-shadow: 0 7px 14px rgba(30, 45, 80, 0.15);
        } */

        /* .card-icon svg {
            width: 25px;
            height: 25px;
        } */

        .icon-blue {
            background: linear-gradient(145deg, #665cff, #4077f5);
        }

        .icon-green {
            background: linear-gradient(145deg, #11bd8d, #02aa6f);
        }

        .icon-red {
            background: linear-gradient(145deg, #f1325a, #e91342);
        }

        .favorite-button {
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 0;
            color: #cad3df;
            background: transparent;
            border: 0;
            cursor: pointer;
        }

        .favorite-button svg {
            width: 17px;
            height: 17px;
        }

        .favorite-button.active {
            color: #ffae00;
        }

        .card-title {
            margin: 0 0 4px;
            font-size: 20px;
            font-weight: 800;
            color:#b3376b;
        }

        .student-card.active .card-title {
            color:#3743b3;
        }

        .card-description {
            margin: 0;
            color: #8b98ad;
            font-size: 11px;
            line-height: 1.4;
        }

        .card-footer {
            display: flex;
            align-items: center;
            justify-content: space-between;
            min-height: 38px;
            padding: 10px 16px;
            border-top: 1px solid #c7daf3;
        }

        .card-status {

            background-color: #ffd67e;
            color: #3f3625;
            font-size: 11px;
            font-weight: 500;
            border-radius: 30px;
        }

        .card-status.success {
            color: #009b57;
            font-weight: 700;
        }

        .arrow {
            color: #64748b;
            font-size: 20px;
            line-height: 1;
            transition: transform 0.2s ease;
        }

        .student-card:hover .arrow {
            color: #4f46ef;
            transform: translateX(4px);
        }

    

        /* student card Modal */

         .studnt-modl-content{
            overflow-y: hidden !important;
         }

         .studnt-modl-content .modal-header .close span{
            border-radius: 50%;
            width: 35px;
            height: 35px;
         }

         .studnt-modl-content h5{
            font-size: 22px;
            font-weight: 600;
            float: left;
            color: #6075a6;
         }

         .table-wrap {
            overflow-x: auto;
        }

        table {
            width: 100%;
            min-width: 520px;
            border-collapse: separate;
            border-spacing: 0;
            font-size: 14px;
        }

        thead th {
            padding: 6px 10px;
            background: #20569f;
            color: #c9ddff;
            text-align: left;
            font-weight: 700;
        }

        thead th:first-child { border-radius: 13px 0 0 13px; }
        thead th:last-child { border-radius: 0 13px 13px 0; }

        tbody th,
        tbody td {
            padding: 10px;
            border-bottom: 1px solid var(--line);
            text-align: left;
            white-space: nowrap;
        }

        tbody th {
            width: 82px;
            color: #29364b;
            font-weight: 700;
        }

        tbody tr:last-child th,
        tbody tr:last-child td { border-bottom: 0; }

        .studnt-modl-content tbody th,
        .studnt-modl-content tbody td {
            border-bottom: 1px solid #dfdfdf;
        }

        .new-main-header .main-nemu {
            top: 2px;
        }

        .new-main-footer {
            margin-top: auto;
            flex-shrink: 0;
        }

       .schedule-card .class-item {
           border-bottom: 1px solid #c4caff;
           border-radius: 0px;
        }



/* ============ Responsive ============ */

 @media (max-width: 1150px) {

     .student-card-grid {
        grid-template-columns: repeat(3, minmax(190px, 1fr));
    }
}

@media (max-width: 1100px) {

    .header-search {
        padding: 0 15px;
    }

    .header-search-box {
        max-width: 380px;
    }
}

@media (max-width: 991px){
    .schedule-card{
        margin-top: 20px;
    }

    .login-formbx{
        margin-bottom: 30px;
    }
}


@media (max-width: 900px) {

    .main-header .container {
        flex-wrap: wrap;
    }

    .header-search {
        order: 3;
        width: 100%;
        flex: 0 0 100%;

        padding: 10px 0 0;
    }

    .header-search-box {
        max-width: none;
        width: 100%;
    }

}


@media (max-width: 760px) {
      .summary-grid { grid-template-columns: 1fr; }
      .dashboard-section { padding: 16px; }
      .dashboard-section::before { margin-bottom: 18px; }
      .summary-card { min-height: 104px; }
      .student-card-grid {
            grid-template-columns: repeat(2, minmax(0, 1fr));
        }
}

@media (min-width: 761px) and (max-width: 980px) {
      .summary-grid { 
        grid-template-columns: repeat(2, minmax(0, 1fr)); }
      .exam { grid-column: 1 / -1; }
}

@media (max-width: 767px) {

    .login-formbx label{
        float: left;
    }

}


@media (max-width: 600px) {

    .header-search-box {
        height: 32px;
        border-radius: 12px;
    }

    .new-main-header .main-nemu > ul {
        margin-top: 4px;
    }

    .header-search-box input {
        font-size: 13px;
    }

    .header-search-box input::placeholder {
        font-size: 12px;
    }

    .search-shortcut {
        display: none;
    }

    .header-search {
        margin-top: 0px;
        margin-bottom: 10px;
    }
    
    .wlcom-bx .sesion-dat-cel li {
        width: 100%;
        text-align: center !important;
        margin-bottom: 2px;
    }
}


@media (max-width: 500px) {
            body {
                padding: 12px;
            }

            .student-card-grid {
                grid-template-columns: 1fr;
            }

            .student-card {
                min-height: 150px;
            }
}


 @media (max-width: 440px) {

      body { 
        padding: 12px; 
        place-items: start center; }

      .schedule-card { 
        padding: 18px; 
        border-radius: 20px; }

      .schedule-header { 
        align-items: flex-start; }

      .schedule-title { 
        font-size: 14px; }

      .tabs { 
        margin-top: -1px; }

      .tab-button { 
        min-width: 43px; 
        padding-inline: 7px; }
    
}

@media (max-width: 340px) {
      .schedule-header { flex-direction: column; }

      .tabs { 
        align-self: stretch; 
        width: 100%; }

      .class-name {
         white-space: normal; }

      .schedule-footer { 
        align-items: flex-start; 
        flex-direction: column; }
}

    @media (prefers-reduced-motion: reduce) {
      *, *::before, *::after { animation: none !important; transition: none !important; }
    }

    @media (prefers-reduced-motion: reduce) {
      .summary-card { transition: none; }
    }




  

   

    /* Login Page */

     html {
        height: 100%;
    }

    body {
        min-height: 100%;
        display: flex;
        flex-direction: column;
    }
    .content-main {
        flex: 1;
    }


    .fi-icn{
        color: #fff;
        margin-right: 4px;
        margin-top: 2px;
        float: left;
    }

    .logo{
        margin-bottom: 10px;
    }

    .new-main-header .container,
    .login-hdr .container{
        display: block;
    }

    .login-hdr .main-nemu {
        margin-right: 0px;
    }

    .login-hdr ul{
        margin-top: 0px;
        margin-bottom: 5px;
    }

    .login-hdr .main-nemu li a,
    .form-check li a{
        outline:none;
        font-size: 14px;
    }

    .login-bx{
        min-height: 310px;
    }


   .login-bx .sesion-dat-cel li{
       text-align: left;
    }

    .login-formbx figure img {
        text-align: center;
        float: none;
        margin: 0px auto;
        width: 90px;
        height: 90px;
    }

    .login-formbx

    .login-formbx h2{
        font-weight: 600 !important;
    }

    .login-formbx label{
        font-size: 14px;
    }

    .login-formbx label.chkout{
        font-weight: 400;
    }

    .crv-nput{
        border-radius: 14px !important;
    }

    .form-check li{
        display: inline-block;
        width: 49%;
    }

    .form-check li:last-child{
        text-align: right;}

    .form-check li:last-child a{
        font-size: 14px;
        text-align: right;
        text-decoration: underline !important;
    }

    .form-check li:last-child a:hover{
        text-decoration: none !important;
    }

    .submit_btn{
        border-radius:6px;
        border:0px;
        outline: none;
        padding: 6px 15px;
        border: 1px solid #1669ad;
        background: #4b698d;
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
        backdrop-filter: blur(7px);
        color:#fff;
    }

    .submit_btn:hover{
        background:  #1982dd;
    }

    .tripl_tab {
        margin-top: 20px;
    }

    .tripl_tab .tabs{
        max-width: 100%;
    }