:root {
    --primary: #256f94;
    --light: #FFF5F3;
    --dark: #103741;
	--white:#ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    height: 100vh;
    background: #e6edf0;
}

.topbar {
    background: transparent;
    padding: 20px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}    

.topbar .top-left__area{
    display: flex;
    align-items: center;
    gap: 30px;
    padding-right:32px
}

.topbar .top-left__area .class-title{
    font-size: 22px;
    font-weight: 500;
    color: #fff;
    margin-bottom: 0;
}

.topbar .dropup-box{
	display:none;
}
    
.topbar ul{
    list-style: none;
    display: flex;
    gap: 13px;
    margin-bottom: 0; 
}
    
.topbar ul li .notification-box, .score-box{
    width: 38px;
    height: 38px;
    background: #fff;
    border-radius: 50px; 
    cursor:pointer;
}
    
.topbar ul li .notification-box i, .score-box i{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    font-size: 17px;  
}
    
.topbar .togglebutton{
    display:none;  
}

.topbar .logo a{
    text-decoration: unset;
    display: flex;
    align-items: center;
    gap: 20px;
}

.topbar .logo a img{
    width: 105px;
    max-width: 100%;
}

.topbar .logo a span{
    margin: 0;
    font-size: 36px;
    color: #fff;
    font-weight: 700;
}

.profile-btn {
    background-color: rgba(125, 125, 125, 0.8);
    box-shadow: 0px 4px 4px 0px #00000040;
    border: 2px solid #4CE7FF;
    border-radius: 10px;
    padding: 6px 6px 6px 18px;
    display: flex;
    align-items: center;
    gap: 20px;
    margin-right: 30px;
}

.profile-btn span {
    color: #fff;
    font-weight: 700;
}

.profile-btn img {
    width: 30px;
    max-width: 100%;
}

.main {
    display: flex;
}

.sidebar {
    width: 270px;
    background-color: transparent;
    padding: 20px 10px;
    display: flex;
    flex-direction: column;
}

.sidebar h2 {
    color: #4B49AC;
    margin-bottom: 30px;
    font-size: 22px;
    font-weight: 600;
}

.sidebar ul {
    list-style: none;
    padding-left:0;
}

.sidebar ul li {
    margin: 6px 0 13px;
    cursor: pointer;
    transition: background 0.3s;
}
    
.sidebar ul li a{
    font-size: 16px;
    color: var(--white);
    text-decoration: unset; 
    padding: 10px 16px;
    border-radius: 8px;
    display: flex;
    align-items: center;
}
    
.sidebar ul li i{
    font-size: 18px;
    margin-right: 13px;  
}

.sidebar ul li a:hover,
.sidebar ul li a.active {
    background: var(--primary);
    color: #fff;
}
    
.sidebar ul li:hover a,
.sidebar ul li.active a{
    color: #fff; 
}

#closeSidebar{
    display:none;    
}

.content {
    padding: 25px;
    /*overflow-y: auto;*/
    background: var(--white);
    border-radius: 20px;
    height: 100vh;
    flex:1;
    margin-right: 50px;
}

.content .head-title{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 20px;
}

.view-btn{
    background-color: #F2F4F5;
    color: #0a0606;
    min-height: 34px;
    line-height: 34px;
    padding: 0 20px;
    font-size: 14px;
    font-weight: 500;
    border-radius: 100px;
}

.view-btn:hover{
    background-color:var(--primary);
    color:var(--white);
}

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.card {
    background: #ffffff;
    padding: 20px;
    border-radius: 14px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
}

.card:hover {
    transform: translateY(-4px);
}

.card h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
}

.card p {
    font-size: 30px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0;
}

.section-title {
    font-size: 25px;
    font-weight: 600;
    color: #0a0606;
    margin-bottom: 20px;
} 

.profile-card{
    border: 1px solid #e7e9ec;
    border-radius: 10px;
    padding: 25px;
}

.profile-card .profile-card-body{
    display: flex;
    align-items: center;
    gap: 35px;
}

.profile-card .profile-card-body .profile__img{
    position:relative;
}

.profile-card .profile-card-body .profile__img img{
    width: 170px;
    max-width: 100%;
    border-radius: 100%;
    height: 170px;
    object-fit: cover;
}

.profile-card .profile__img .online-status{
    position: absolute;
    top: 12px;
    right: 25px;
    background-color: #1CD991;
    border: 2px solid var(--white);
    width: 15px;
    height: 15px;
    border-radius: 100%;
}

.profile-card .profile-card-body .profile__img:hover .change-img-overlay{
    position: absolute;
    left: 3px;
    right: 3px;
    top: 3px;
    height: 164px;
    background-color: rgba(0, 0, 0, .3);
    border-radius: 50%;
}

.change-profile-img{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    border-radius: 100%;
    width: 34px;
    height: 34px;
    display: none;
}

.change-profile-img i{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #000;
    font-size: 18px; 
}

.profile-card .profile-card-body .profile__img:hover .change-profile-img{
    display:block;
}

.profile-card .profile-card-body .profile__content h3{
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 20px;
}

.badge-bx{
    font-size: 11px;
    font-weight: 600;
    color: #0a0606;
    background-color: #c6eafd;
    letter-spacing: .25px;
    text-align: center;
    display: inline-block;
    padding: 5px 15px;
    border-radius: 6px;
}

.profile-card .profile-card-body .profile__content span{
    font-size: 14px;
    color: #0a0606;
    font-weight: 500;
    padding-left: 10px;
    position: relative;
}

.profile-card .profile-card-body .profile__content span:before{
    content:"";
    position:absolute;
    top: 6px;
    left:0;
    background:#0a0606;
    width: 5px;
    height: 5px;
    border-radius: 20px;
}

.profile-tabs{
    padding: 25px 0;
}

.profile-tabs .tab-nav{
    list-style: none;
    padding-left: 0;
    display: flex;
    align-items: center;
    gap: 25px;
    margin-bottom: 30px;
}

.profile-tabs .tab-nav .tab-item .tab-link{
    font-size: 14px;
    font-weight: 500;
    color: #000;
}

.profile-tabs .tab-nav .tab-item .tab-link.active{
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary);
    font-weight: 600; 
}

.profile-tabs .profile-tab__content .detail-card{
    border: 1px solid #e7e9ec;
    border-radius: 10px;
    padding: 25px;
}

.profile-tabs .profile-tab__content .detail-card .detail-header{
    background-color: transparent;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 0 16px;
    margin-bottom: 25px;
    border-bottom: 1px solid #e7e9ec;
}

.profile-tabs .profile-tab__content .detail-card .detail-header h3{
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 0;
}

.profile-tabs .profile-tab__content .detail-card .detail-header .m-link{
    color: #0a0606;
    background-color: #F2F4F5;
    padding: 0 20px;
    min-height: 34px;
    line-height: 34px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 500;
}

.profile-tabs .profile-tab__content .detail-card .detail-header .m-link:hover{
    background: var(--primary);
    color: #fff;
}

.profile-tabs .profile-tab__content .detail-body table{
    width:100%;
}

.profile-tabs .profile-tab__content .detail-body table tbody tr .label{
    width: 25%;
    color: #0a0606;
    font-size: 14px;
    font-weight: 500;
    padding: 0 0 25px;
    word-break: break-word;
}

.profile-tabs .profile-tab__content .detail-body table tbody tr .data{
    width: 75%;
    color: #0a0606;
    font-size: 14px;
    font-weight: 500; 
    padding: 0 0 25px;
    word-break: break-word;
}

.profile-container, .settings-container{
    display: flex;
    gap: 40px;
}

.profile-container .profile-nav, .settings-container .settings-nav{
    width: 240px;
}

.profile-container .profile-nav ul, .settings-container .settings-nav ul{
    list-style: none;
    padding-left: 0;
}

.profile-container .profile-nav ul li, .settings-container .settings-nav ul li{
    margin-bottom:10px;
}

.profile-container .profile-nav ul li a, .settings-container .settings-nav ul li a{
    font-size: 16px;
    color: #0a0606;
    text-decoration: unset;
    padding: 10px 16px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.profile-container .profile-nav ul li a.active, .settings-container .settings-nav ul li a.active{
    background: var(--primary);
    color: #fff;
}

.profile-container .profile-content, .settings-container .settings-content{
    flex: 1;
    border: 1px solid #e7e9ec;
    border-radius: 10px;
    padding: 0 30px;
}

.profile-container .profile-form{
    padding: 50px;
}

.profile-container .profile-form .title, .settings-container .settings-form .title{
    font-size: 22px;
    color: #0a0606;
    font-weight: 500;
    margin-bottom: 40px;
}

.profile-container .profile-form .profile-tab{
    list-style: none;
    display: flex;
    gap: 30px;
    padding-left: 0;
    border-bottom: 1px solid #e7e9ec;
    padding-bottom: 18px;
    margin-bottom: 25px;
}

.profile-container .profile-form .profile-tab .tab-item .tab-link{
    font-size: 15px;
    font-weight: 500;
    color: #000;
    padding-bottom: 18px;
}

.profile-container .profile-form .profile-tab .tab-item .tab-link.active{
    border-bottom: 2px solid var(--primary);
}

.profile-container .profile-form .profile-tab-content .form-group{
    margin-bottom: 20px; 
}

.profile-container .profile-form .profile-tab-content .form-group label{
    font-size: 15px;
    font-weight: 500;
    color: #0a0606;
    margin-bottom: 8px;
}

.profile-container .profile-form .profile-tab-content .form-group .form-control{
    height:47px;
}

.profile-container .profile-form .profile-tab-content .form-group .form-control:focus{
    box-shadow:unset;
    border-color:var(--primary);
}

.profile-container .profile-form .profile-tab-content .form-group .form-select{
    height:47px;
}

.profile-container .profile-form .profile-tab-content .form-group .form-select:focus{
    box-shadow:unset;
    border-color:var(--primary);
}

.settings-container .settings-content{
    padding:55px 50px;
}

.settings-container .settings-form .title{
    margin-bottom:25px;
}

.settings-form .ptxt{
    font-size: 16px;
    font-weight: 500;
    color: #0a0606
}

.settings-container .settings-form .form-group{
    margin-bottom:20px;
}

.settings-container .settings-form .form-group label{
    font-size: 16px;
    font-weight: 500;
    color: #0a0606;
    margin-bottom: 8px; 
}

.settings-container .settings-form .form-group .form-control{
    height:47px;
}

.settings-container .settings-form .form-group .form-control:focus{
    box-shadow:unset;
    border-color:var(--primary);
}

.settings-container .settings-form .pass_link{ 
    color:var(--primary);
}

.settings-form .form-group i{
    position: absolute;
    right: 16px;
    top: 43px;
    cursor:pointer;
}

.btn-save{
    background-color: var(--primary);
    border: none;
    font-size: 15px;
    font-weight: 500;
    color: var(--white);
    border-radius: 100px;
    min-height: 38px;
    line-height: 38px;
    padding: 0 20px;
}

.info-box {
    display: flex;
    background: var(--white);
    border: 1px solid #e0e0e0;
    -webkit-box-align: stretch;
    align-items: stretch;
    border-radius: 10px;
    margin-bottom: 35px;
}

.info-icon {
    background: var(--primary);
    color: #fff;
    padding: 6px 15px;
    margin-right: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-top-left-radius: 7px;
    border-bottom-left-radius: 7px;
}

.info-box span{
    padding: 10px 0px;
    color: #0a0606;
    font-size: 15px;
}

.profile-tab-content .nav-tabs .nav-link{
    background-color: transparent;
    font-size: 15px;
    color:var(--primary);
}

.profile-tab-content .nav-tabs .nav-link.active{
    font-weight: 700;
    color: #0a0606;
}

/* Upload box */
.upload-box {
    border: 2px dashed #ddd;
    border-radius: 8px;
    background: #f9fafb;
    width: 100%;
    height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.3s;
    margin-top: 20px;
}

.upload-box.dragover {
    border-color: #4a90e2;
    background: #eef4ff;
}

.upload-box button {
    padding: 10px 20px;
    border: none;
    background: var(--primary);
    color: var(--white);
    border-radius: 20px;
    cursor: pointer;
    font-size: 14px;
    transition: 0.3s;
}

.upload-box button:hover {
    background: #3651d4;
}

/* Crop section */
.crop-section {
    display: none;
    flex-direction: column;
    align-items: center;
}

.crop-container {
    display: flex;
    gap: 20px;
    margin-top: 20px;
    align-items: center;
}

#preview {
    max-width: 400px;
    max-height: 280px;
    display: block;
}

.preview-circle {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #ddd;
}

.btns {
    margin-top: 20px;
    text-align: center;
}

.btns button {
    padding: 10px 20px;
    margin: 0 10px;
    border: none;
    background: #4361ee;
    color: white;
    border-radius: 20px;
    cursor: pointer;
    font-size: 14px;
}

.btns button.cancel {
    background: #999;
}

/** take photo **/
.camera-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    margin-top: 20px;
}

video, canvas {
    border: 1px solid #ccc;
    border-radius: 4px;
    width: 500px;
    height: 400px;
    object-fit: cover;
}

.camera-container .preview {
    display: flex;
    flex-direction: column;
    align-items: center;
}
    
.camera-container .circle-preview {
    width: 150px;
    height: 150px;
    border: 2px dashed #aaa;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.camera-container .circle-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.camera-container .buttons {
    display: flex;
    gap: 10px;
}

.camera-container .buttons button {
    background: var(--primary);
    border: none;
    color: var(--white);
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 15px;
    cursor: pointer;
}

.camera-container .buttons button:hover {
    background: #000;
}

.status-badge {
    margin-top: 20px;
    padding: 10px;
    background: #fff7ed;
    border: 1px solid #fde68a;
    border-radius: 6px;
    color: #92400e;
    font-size: 14px;
    max-width: 600px;
}

/*** my books ***/
.my-books__card{
    display:grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.my-books__card .my-books__item a{
    padding: 16px 13px;
    border-radius: 13px;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    width: 100%;
    background-color: #002741;
    border: 2px solid #4CE7FF;
    box-shadow: 0px 4px 4px 0px #00000040;
}

.ripple-btn {
    transition: transform 0.2s;
    position: relative;
    overflow: hidden;
}

/** report **/
.reports-table__wrap .table thead tr th{
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    background: var(--primary);
    padding: 13px 16px;
    text-align: center;
}

.reports-table__wrap .table thead tr th:first-child{
    border-top-left-radius: 10px;
}

.reports-table__wrap .table thead tr th:last-child{
    border-top-right-radius: 10px;
}

.reports-table__wrap .table tbody tr td{
    font-size: 14px;
    font-weight: 500;
    padding: 13px 16px;
    color: #0a0606;
    text-align: center;
}

.reports-table__wrap .table .form-check-input{
    width: 20px;
    height: 20px;
    margin: 0 auto;
    float: unset;
}

.reports-table__wrap .table .form-check-input:focus{
    box-shadow:unset;
}

.reports-table__wrap .table .form-check-input:checked {
    background-color: var(--primary);
    border-color: var(--primary);
}

.reports-table__header{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.reports-table__header h3{
    font-size: 18px;
    font-weight: 600;
    color: #0a0606;
    margin-bottom: 0;
}

.reports-button{
    padding-bottom: 13px;
    padding-top: 25px;
}

.reports-button .action-btn{
    background: var(--primary);
    border: none;
    padding: 8px 13px;
    border-radius: 5px;
    font-size: 14px;
    color: #fff;
    font-weight: 500;
}

.reports-button .action-btn:hover{
    background: #000;
}

.top-left__area .class-filter .form-select{
    background-color: #013050;
    box-shadow: 0px 4px 4px 0px #00000040;
    border: 2px solid #4CE7FF;
    color: #fff;
    padding: 10px 13px;
    width: 150px;
}

.top-left__area .class-filter select option {
    background-color: #013050;  
    color: #fff;   
    border:none;
}

.top-left__area .class-filter select:focus {
    outline: none !important;
}

.top-left__area .class-filter select option:hover {
    background-color: #4CE7FF !important;
}

.top-left__area .class-filter select.form-select {
    background: transparent url(../img/down-chevron.svg) no-repeat right 0.75rem center / 12px 12px;
    cursor: pointer;
}

@media (max-width: 768px) {
      
.topbar .togglebutton{
    display:block;
    border: none;
    background: transparent;
    font-size: 29px;
}

.topbar .togglebutton{
    color:#fff;
}

.topbar .logo a img {
    width: 55px;
    max-width: 100%;
}

.topbar .logo a span{
    display:none;
}

.profile-btn{
    margin-right: 0;
    padding: 4px 6px 4px 12px;
}

.profile-btn span {
    font-size: 14px;
    color: #fff;
    font-weight: 700;
}

.profile-btn img {
    width: 25px;
    max-width: 100%;
}

.gap-15{
    gap:15px;
}
      
#sidebar {
    width: 240px;
    position: fixed;
    top: 0;
    left: -250px;
    height: 100%;
    background-color: var(--primary);
    color: white;
    transition: left 0.3s ease;
    z-index: 1050;
    padding: 1rem;
}
    
#sidebar.active {
    left: 0;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1040;
    display: none;
}
    
.overlay.active {
    display: block;
}
    
#closeSidebar {
    position: absolute;
    top: 10px;
    right: -10px;
    z-index: 1060;
    display:block;
}

.content{
    margin: 0 16px;
    overflow-y: auto;
}

.my-books__card {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 20px;
}

.profile-container .profile-form {
    padding: 25px 0px;
}

.profile-container, .settings-container {
    display: flex;
    gap: 40px;
    flex-direction: column;
}

.settings-container .settings-content {
    padding: 40px 30px;
}

.reports-table__header{
    flex-direction: column;
}

.reports-button .action-btn{
    margin-bottom:10px;
}

.topbar .top-left__area{
    padding-right: 0px;
    gap: 15px;
}

.top-left__area .class-filter .form-select{
    font-size: 14px;
    width: 135px;
}

.topbar .top-left__area .class-title{
    font-size: 16px;
}

}