* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Microsoft Yahei", Arial, sans-serif;
}
body {
    background-color: #f5f7fa;
    font-size: 14px;
}
ul {
    list-style: none;
}
button {
    cursor: pointer;
    border: none;
}

/* 登录/注册/重置面板 */
.box {
    width: 380px;
    background: #ffffff;
    padding: 35px;
    margin: 120px auto 0;
    border-radius: 10px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}
.box h3 {
    text-align: center;
    margin-bottom: 25px;
    color: #333;
    font-size: 20px;
}
.input-wrap {
    position: relative;
    margin: 8px 0;
}
.input-wrap input {
    width: 100%;
    height: 42px;
    padding: 0 40px 0 12px;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    font-size: 14px;
    outline: none;
    transition: border 0.2s;
}
.input-wrap input:focus {
    border-color: #27AE60;
}
.eye-icon {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #999;
    user-select: none;
}
.remember {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 5px 0 10px;
    font-size: 14px;
    color: #666;
}
.box button {
    width: 100%;
    height: 42px;
    margin-top: 5px;
    background-color: #27AE60;
    color: #fff;
    border-radius: 6px;
    font-size: 15px;
    transition: opacity 0.2s;
}
.box button:hover {
    opacity: 0.9;
}
.link-row {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
    font-size: 14px;
}
.link-row span {
    color: #27AE60;
    cursor: pointer;
}

/* 教务系统主框架 */
.sys-container {
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
}
.sys-header {
    height: 60px;
    background: #27AE60;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 30px;
    color: #fff;
}
.sys-title {
    font-size: 18px;
    font-weight: bold;
}
.user-info {
    display: flex;
    align-items: center;
    gap: 15px;
}
.role-tag {
    background: #fff;
    color: #27AE60;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 13px;
}
.logout-top {
    padding: 6px 12px;
    background: #e74c3c;
    color: #fff;
    border-radius: 4px;
    font-size: 13px;
}
.logout-top:hover {
    opacity: 0.9;
}
.sys-body {
    flex: 1;
    display: flex;
    overflow: hidden;
}
.sys-sidebar {
    width: 200px;
    background: #fff;
    border-right: 1px solid #eee;
    padding-top: 20px;
}
.menu-item {
    height: 45px;
    line-height: 45px;
    text-align: center;
    color: #333;
    cursor: pointer;
    margin: 4px 10px;
    border-radius: 6px;
    transition: all 0.2s;
}
.menu-item.active,
.menu-item:hover {
    background: #e8f5e9;
    color: #27AE60;
}
.submenu {
    display: none;
    background: #f9f9f9;
    margin: 0 10px;
    border-radius: 6px;
}
.submenu-item {
    height: 35px;
    line-height: 35px;
    text-align: center;
    color: #666;
    cursor: pointer;
    font-size: 13px;
    border-radius: 4px;
    margin: 2px 0;
}
.submenu-item.active,
.submenu-item:hover {
    background: #e8f5e9;
    color: #27AE60;
}
.sys-content {
    flex: 1;
    padding: 30px;
    overflow-y: auto;
    background: #f5f7fa;
}
.content-panel {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.content-panel h2 {
    font-size: 20px;
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}
.panel-desc {
    color: #666;
    font-size: 15px;
    line-height: 1.8;
}
.info-item {
    font-size: 16px;
    color: #444;
    line-height: 2.2;
    border-bottom: 1px solid #eee;
    padding: 8px 0;
}
.info-item span {
    color: #27AE60;
    font-weight: 500;
}
.btn-group {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}
.btn-group button {
    padding: 10px 22px;
    border-radius: 6px;
    font-size: 14px;
}
.edit-pwd-btn {
    background: #3498db;
    color: #fff;
}
.del-btn {
    background: #e53935;
    color: #fff;
}

/* 工作台样式 */
.panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}
.header-btn-group {
    display: flex;
    gap: 10px;
    align-items: center;
}
.blue-btn {
    background: #3498db;
    color: #fff;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
}
.green-btn {
    background: #27AE60;
    color: #fff;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
}
.red-btn {
    background: #e74c3c;
    color: #fff;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
}
.orange-btn {
    background: #f39c12;
    color: #fff;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
}
.upload-label {
    display: inline-block;
    cursor: pointer;
}
.small {
    padding: 4px 10px;
    font-size: 13px;
}
.file-name-show {
    color: #666;
    margin-bottom: 15px;
    min-height: 20px;
}
.tip-box {
    background: #fff3e0;
    color: #e65100;
    padding: 10px;
    border-radius: 4px;
    margin: 10px 0;
}
.stat-card-wrap {
    display: flex;
    gap: 20px;
    margin: 20px 0;
    flex-wrap: wrap;
}
.stat-card {
    flex: 1;
    min-width: 180px;
    padding: 20px;
    background: #e8f5e9;
    border-radius: 8px;
    text-align: center;
}
.card-num {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 5px;
}
.card-num.green {
    color: #27AE60;
}
.card-num.red {
    color: #e53935;
}
.card-title {
    font-size: 15px;
    color: #333;
}
.chart-wrap {
    display: flex;
    gap: 20px;
    margin: 20px 0;
    flex-wrap: wrap;
}
.chart-card.small-chart {
    flex: 1;
    min-width: 260px;
    max-width: 420px;
    background: #fff;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #eee;
    height: 280px;
}
.chart-card h3 {
    font-size: 16px;
    margin-bottom: 10px;
    color: #333;
}
.todo-wrap {
    margin-top: 20px;
}
.todo-wrap h3 {
    font-size: 16px;
    margin-bottom: 15px;
    color: #333;
}
.todo-table, .plan-table, .task-table, .notice-table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
}
.todo-table th, .todo-table td,
.plan-table th, .plan-table td,
.task-table th, .task-table td,
.notice-table th, .notice-table td {
    padding: 12px 10px;
    text-align: center;
    border-bottom: 1px solid #eee;
}
.todo-table th, .plan-table th, .task-table th, .notice-table th {
    background: #e8f5e9;
    color: #333;
    font-weight: normal;
}
.status {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 13px;
}
.status.pending {
    background: #fff3e0;
    color: #f57c00;
}
.status.doing {
    background: #e3f2fd;
    color: #1976d2;
}
.status.overdue {
    background: #ffebee;
    color: #e53935;
}
.text-orange {
    color: #f39c12;
    font-weight: bold;
}
.text-red {
    color: #e74c3c;
    font-weight: bold;
}

/* 教务中心样式 */
.link-input-wrap {
    display: flex;
    gap: 10px;
    align-items: center;
    margin: 15px 0;
}
.link-input-wrap input {
    flex: 1;
    padding: 8px;
    border: 1px solid #eee;
    border-radius: 4px;
}
.empty-table-area {
    height: 200px;
    border: 1px dashed #eee;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
}
.calendar-wrap {
    margin: 20px 0;
}
.calendar-wrap h3 {
    font-size: 16px;
    margin-bottom: 10px;
}
.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
}
.calendar-day {
    text-align: center;
    padding: 10px;
    border: 1px solid #eee;
    border-radius: 4px;
}
.calendar-day.active {
    background: #e8f5e9;
    color: #27AE60;
}
.plan-form-wrap, .task-form-wrap, .notice-form-wrap {
    margin: 20px 0;
}
.form-row {
    margin: 10px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.form-row label {
    width: 80px;
    text-align: right;
}
.form-row input, .form-row select {
    padding: 8px;
    border: 1px solid #eee;
    border-radius: 4px;
    flex: 1;
    min-width: 150px;
}
.form-row textarea {
    width: 100%;
    height: 100px;
    padding: 8px;
    border: 1px solid #eee;
    border-radius: 4px;
    resize: vertical;
}