body {
    margin          : 0;
    font-family     : Arial, sans-serif;
    background-color: #f5f6fa;
}

.main {
    margin-top : 60px;
    margin-left: 240px;
    padding    : 40px;
}

.main > div {
  display: none;
}

.dashboard-container {
    max-width: 1100px;
    margin   : 40px auto;
    padding  : 20px;
}

.header {
    display        : flex;
    justify-content: space-between;
    align-items    : center;
    background     : #ffffff;
    padding        : 20px 30px;
    border-radius  : 8px;
    box-shadow     : 0 2px 8px rgba(0, 0, 0, 0.05);
    margin-bottom  : 30px;
}

.header h1 {
    font-size: 20px;
    color    : #e60012;
    margin   : 0;
}

.logout-btn {
    background-color: #e60012;
    color           : white;
    border          : none;
    padding         : 10px 18px;
    font-size       : 14px;
    border-radius   : 5px;
    cursor          : pointer;
}

.logout-btn:hover {
    background-color: #cc0010;
}

.card-container {
    display        : flex;
    gap            : 30px;
    flex-wrap      : wrap;
    justify-content: space-between;
}

.card {
    flex         : 1 1 48%;
    background   : white;
    padding      : 30px;
    border-radius: 10px;
    box-shadow   : 0 2px 10px rgba(0, 0, 0, 0.05);
}

.card h2 {
    font-size    : 18px;
    color        : #333;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group input {
    width        : 100%;
    padding      : 10px;
    font-size    : 14px;
    border       : 1px solid #ccc;
    border-radius: 4px;
}

.action-btn {
    width           : 100%;
    background-color: #e60012;
    color           : white;
    border          : none;
    padding         : 12px;
    font-size       : 15px;
    border-radius   : 4px;
    cursor          : pointer;
}

.action-btn:hover {
    background-color: #cc0010;
}

.user-menu-wrapper {
    position: relative;
}

.avatar {
    width           : 36px;
    height          : 36px;
    background-color: #e60012;
    color           : white;
    text-align      : center;
    line-height     : 36px;
    border-radius   : 50%;
    font-weight     : bold;
    cursor          : pointer;
}

.user-menu {
    display      : none;
    position     : absolute;
    right        : 0;
    top          : 45px;
    background   : white;
    border       : 1px solid #ddd;
    border-radius: 6px;
    box-shadow   : 0 2px 8px rgba(0, 0, 0, 0.1);
    width        : 160px;
    z-index      : 999;
}

.user-menu .menu-item {
    padding  : 10px 16px;
    font-size: 14px;
    color    : #333;
    cursor   : pointer;
}

.user-menu .menu-item:hover {
    background-color: #f2f2f2;
}

.profile-container {
    max-width    : 600px;
    margin       : 40px auto;
    background   : white;
    padding      : 30px;
    border-radius: 8px;
    box-shadow   : 0 2px 8px rgba(0, 0, 0, 0.05);
}

.profile-container h2 {
    text-align   : center;
    margin-bottom: 30px;
    color        : #e60012;
}

.info-item {
    margin-bottom  : 18px;
    font-size      : 16px;
    display        : flex;
    justify-content: space-between;
    border-bottom  : 1px solid #eee;
    padding-bottom : 8px;
}

.info-label {
    color: #666;
}

.info-value {
    color      : #333;
    font-weight: bold;
}

.sidebar {
    width           : 240px;
    position        : fixed;
    top             : 60px;
    /* 紧贴 header 下方 */
    bottom          : 0;
    left            : 0;
    background-color: #ffffff;
    border-right    : 1px solid #e5e5e5;
    padding-top     : 10px;
    z-index         : 999;
}

.sidebar .nav-link {
    color      : #333;
    font-weight: 500;
    padding    : 12px 20px;
    display    : flex;
    align-items: center;
    transition : background-color 0.2s ease-in-out;
}

.sidebar .nav-link i {
    font-size   : 18px;
    margin-right: 10px;
}

.sidebar .nav-link:hover,
.sidebar .nav-link.active {
    background-color: #f5f5f5;
    color           : #000;
    border-left     : 3px solid #0d6efd;
}


/* body {
  margin: 0;
  background-color: #f8f9fa;
  font-family: "Segoe UI", sans-serif;
}

.main {
  margin-left: 240px;
  padding: 100px 40px 40px 40px;
}

.card {
  padding: 20px;
  background: white;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
} */