body {
    margin: 0;
    font-family: "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "微软雅黑", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background-color: #f0f2f5;
}

#app {
    height: 100vh;
}

.main-container {
    height: 100%;
}

.sidebar {
    background-color: #0f172a !important;
    border-right: none;
    display: flex;
    flex-direction: column;
}

.sidebar-header {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    border-bottom: 1px solid #1e293b;
}

.logo-icon {
    width: 28px;
    height: 28px;
    margin-right: 12px;
}

.el-menu {
    border-right: none !important;
}

.el-menu-item {
    font-size: 14px;
}

.el-menu-item:hover {
    background-color: #1e293b !important;
}

.el-menu-item.is-active {
    background-color: #2563eb !important;
    color: #fff !important;
}

.menu-icon {
    margin-right: 10px;
    width: 18px;
    height: 18px;
}

.header {
    background-color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 24px;
    border-bottom: 1px solid #e4e7ed;
}

.page-title {
    font-size: 20px;
    color: #303133;
    font-weight: 500;
}

.header-user {
    display: flex;
    align-items: center;
    color: #606266;
}

.user-icon {
    width: 24px;
    height: 24px;
    margin-right: 8px;
}

.content-main {
    background-color: #f0f2f5;
    padding: 20px;
}

.content-wrapper {
    background-color: #fff;
    padding: 24px;
    border-radius: 4px;
    min-height: calc(100vh - 101px);
}

.toolbar {
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.el-table {
    margin-bottom: 20px;
}

.pagination-container {
    display: flex;
    justify-content: flex-end;
}

/* Login Page Styles */
.login-page-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: #f0f2f5;
}

.login-title {
    margin-bottom: 24px;
    color: #303133;
    font-size: 28px;
    font-weight: 500;
}

.login-container {
    width: 350px;
    padding: 40px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

#login-form {
    width: 100%;
    text-align: center;
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #606266;
    font-size: 14px;
}

.form-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid #dcdfe6;
    border-radius: 4px;
    font-size: 14px;
    box-sizing: border-box; /* Important */
}

#login-form button {
    width: 100%;
    padding: 12px;
    background-color: #409eff;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
}

#login-form button:hover {
    background-color: #66b1ff;
}

.error-message {
    color: #f56c6c;
    font-size: 14px;
    margin-top: 15px;
    height: 20px;
}
