/*==================================================
  ANGGOTA.CSS
  Halaman:
  - anggota_cabang.php
  - alumni_cabang.php
==================================================*/


/*==================================================
  HERO
==================================================*/

.hero-anggota{

    position:relative;
 
   height:620px;

    overflow:hidden;

    display:flex;

    align-items:center;

    color:#fff;

}

.hero-bg{

    position:absolute;

    inset:0;

    width:100%;

    height:100%;

    object-fit:cover;

}

.hero-overlay{

    position:absolute;

    inset:0;

}

.hero-content{

    position:relative;

    z-index:2;

}

.hero-anggota h1{

    font-size:46px;

    font-weight:700;

    margin-top:30px;

    margin-bottom:10px;

}

.hero-anggota p{

    font-size:20px;

    opacity:.9;

}


/*==================================================
  CONTENT
==================================================*/

.anggota-page{

    background:#f5f7fa;

    padding:70px 0;

}


/*==================================================
  BUTTON KEMBALI
==================================================*/

.btn-kembali{

    display:inline-flex;

    align-items:center;

    gap:10px;

    padding:12px 24px;

    background:#fff;

    color:#0b6b3a;

    border-radius:50px;

    text-decoration:none;

    font-weight:600;

    transition:.3s;

}

.btn-kembali:hover{

    transform:translateX(-5px);

}


/*==================================================
  HEADER
==================================================*/

.header-anggota{

    display:flex;

    justify-content:space-between;

    align-items:center;

    margin-bottom:35px;

    flex-wrap:wrap;

    gap:5px;

}

.info-anggota h2{

    font-size:34px;

    color:#16324f;

    margin-bottom: 8px;

}

.info-anggota p{

    color:#777;

}


/*==================================================
  EXPORT
==================================================*/

.btn-export{

    display:inline-flex;

    align-items:center;

    gap:10px;

    padding:14px 28px;

    background:#198754;

    color:#fff;

    border-radius:10px;

    text-decoration:none;

    font-weight:600;

    transition:.3s;

}

.btn-export:hover{

    background:#146c43;

}

/*==================================================
  SEARCH
==================================================*/

.search-form{

    display:flex;

    gap:18px;

    margin-bottom:35px;

    flex-wrap:wrap;

}

.search-box{

    position:relative;

    flex:1;

    min-width:280px;

}

.search-box i{

    position:absolute;

    left:18px;

    top:50%;

    transform:translateY(-50%);

    color:#888;

}

.search-box input{

    width:100%;

    height:55px;

    border:none;

    border-radius:12px;

    background:#fff;

    padding:0 20px 0 50px;

    font-size:15px;

    box-shadow:0 10px 25px rgba(0,0,0,.08);

    outline:none;

}

.btn-search{

    height:55px;

    padding:0 28px;

    border:none;

    border-radius:12px;

    background:#0b6b3a;

    color:#fff;

    font-weight:600;

    cursor:pointer;

    transition:.3s;

}

.btn-search:hover{

    background:#084b29;

}


/*==================================================
  TABLE
==================================================*/

.table-wrapper{

    background:#fff;

    border-radius:18px;

    overflow:hidden;

    box-shadow:0 15px 35px rgba(0,0,0,.08);

}

.table-anggota{

    width:100%;

    border-collapse:collapse;

}

.table-anggota thead{

    background:#198754;

}

.table-anggota th{

    color:#fff;

    padding:18px;

    text-align:left;

    font-size:15px;

    font-weight:600;

}

.table-anggota td{

    padding:18px;

    border-bottom:1px solid #ececec;

    font-size:15px;

}

.table-anggota tbody tr{

    transition:.25s;

}

.table-anggota tbody tr:hover{

    background:#f8fff9;

}

.table-anggota td:first-child{

    text-align:center;

    font-weight:600;

}


/*==================================================
  EMPTY TABLE
==================================================*/

.empty-table{

    text-align:center;

    padding:60px 20px !important;

}

.empty-table i{

    font-size:60px;

    color:#198754;

    margin-bottom:15px;

    display:block;

}

.empty-table p{

    font-size:17px;

    color:#777;

}


/*==================================================
  SCROLL TABLE
==================================================*/

.table-wrapper{

    overflow-x:auto;

}

.table-wrapper::-webkit-scrollbar{

    height:8px;

}

.table-wrapper::-webkit-scrollbar-thumb{

    background:#198754;

    border-radius:20px;

}

.table-wrapper::-webkit-scrollbar-track{

    background:#ececec;

}


/*==================================================
  RESPONSIVE
==================================================*/

@media(max-width:992px){

    .hero-anggota{

        padding:100px 0 70px;

    }

    .hero-anggota h1{

        font-size:40px;

    }

}

@media(max-width:768px){

    .hero-anggota{

        padding:80px 0 60px;

        text-align:center;

    }

    .hero-anggota h1{

        font-size:32px;

        margin-top:25px;

    }

    .hero-anggota p{

        font-size:17px;

    }

    .header-anggota{

        flex-direction:column;

        align-items:flex-start;

    }

    .btn-export{

        width:100%;

        justify-content:center;

    }

    .search-form{

        flex-direction:column;

    }

    .btn-search{

        width:100%;

    }

    .table-anggota{

        min-width:760px;

    }

}

@media(max-width:480px){

    .hero-anggota h1{

        font-size:28px;

    }

    .hero-anggota p{

        font-size:15px;

    }

}