h2.page-header {
  margin: 10px 0 25px 0;
  padding-bottom: 15px;
}
.user-baseinfo {
  margin-bottom: 25px;
}
.user-baseinfo table tr td {
  color: #999;
}
@media (min-width: 992px) {
  .user-center .avatar-text,
  .user-center .avatar-img {
    height: 150px;
    width: 150px;
    border-radius: 150px;
    line-height: 150px;
    font-size: 70px;
  }
  .user-center .avatar-img {
    font-size: 0;
  }
  .user-center .avatar-img img {
    height: 150px;
    width: 150px;
    border-radius: 150px;
  }
}
.sidebar-toggle {
  display: none;
}
@media (max-width: 991px) {
  .sidenav {
    position: fixed;
    top: 50px;
    z-index: 1029;
    height: calc(100vh - 50px);
    padding: 20px 0 20px 0;
    min-width: 250px;
    overflow-y: auto;
    overflow-x: hidden;
    width: 250px;
    left: -250px;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
  }
  .sidebar-toggle {
    display: block;
    position: fixed;
    right: 20px;
    bottom: 70px;
    border-radius: 50%;
    background: #eee;
    font-size: 22px;
    padding: 10px;
    line-height: 30px;
    height: 50px;
    width: 50px;
    text-align: center;
    z-index: 999999;
  }
}
body.sidebar-open .sidenav {
  left: 0;
  width: 250px;
  box-shadow: 0 6px 27px rgba(0, 0, 0, 0.075);
}
body.sidebar-open .sidebar-toggle i:before {
  content: "\f00d";
}

/* User Center Modernization */

/* Sidebar */
.sidenav .list-group {
    border-radius: 4px;
    box-shadow: none;
    background: #fff;
    border: none;
    overflow: hidden;
    margin-bottom: 20px;
}

.sidenav .list-group-heading {
    padding: 15px 20px;
    font-size: 16px;
    font-weight: 600;
    color: #1f2937;
    background: #fff;
    border-bottom: 1px solid #f3f4f6;
    display: block;
}

.sidenav .list-group-item {
    border: none;
    border-bottom: 1px solid #f3f4f6;
    padding: 14px 20px;
    color: #4b5563;
}

/* Navbar Avatar Crown */
.navbar-nav .avatar-img {
    position: relative;
    display: inline-block;
}

.navbar-nav .vip-crown {
    position: absolute;
    top: -12px;
    right: -11px;
    width: 24px;
    height: 24px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23FFD700'%3E%3Cpath d='M2 20h20v-2H2v2zm2-3h16l-3-9-4 6-4-6-3 9z'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    z-index: 10;
    transform: rotate(45deg);
}

.navbar-nav .vip-badge {
    background-color: #f0ad4e;
    color: white;
    font-size: 10px;
    padding: 1px 4px;
    border-radius: 3px;
    margin-left: 5px;
    vertical-align: middle;
    font-weight: normal;
}

/* Mobile Table Adaptation */
@media (max-width: 768px) {
    .table-responsive {
        border: none;
        margin-bottom: 15px;
    }
    
    .table > thead > tr > th, 
    .table > tbody > tr > td {
        white-space: nowrap;
        font-size: 13px;
        padding: 8px;
        vertical-align: middle;
    }
    
    /* Adjust page header on mobile */
    h2.page-header {
        font-size: 20px;
        margin-top: 10px;
        margin-bottom: 15px;
    }
    
    /* Panel padding */
    .panel-body {
        padding: 15px;
    }
}
