body {
    width: 90%;
    font-family: Arial, sans-serif;
    margin: 20px auto;
    background-color: #f4f4f4;
}
/* 顶部导航条（与首页一致） */
.navbar {
    width: 100%;
    background: #66b32e;
    padding: 14px 40px;
    color: white;
    font-size: 22px;
    font-weight: bold;
}

/* 居中卡片 */
.center-card {
    width: 420px;
    margin: 60px auto;
    background: white;
    padding: 32px;
    border-radius: 14px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}


/* 表单控件统一美化 */
input[type="text"],
input[type="password"],
input[type="email"],
input[type="number"] {
    width: 94%;
    padding: 10px 12px;
    margin: 10px 0 18px 0;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 16px;
}

/* 主按钮 */
.btn-main {
    width: 100%;
    padding: 12px;
    background: #66b32e;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    cursor: pointer;
    margin-top: 10px;
}

.btn-main:hover {
    background: #569a25;
}

/* 次要按钮 */
.btn-sentcode {
    width: 100%;
    padding: 10px;
    margin-bottom: 18px;
    background: #eaeaea;
    color: #333;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
}

.btn-sentcode:hover {
    background: #dcdcdc;
}

/* 链接 */
a {
    color: #66b32e;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* 页面标题 */
.page-title {
    text-align: center;
    font-size: 18px;
    margin-bottom: 12px;
}

.spinner {
    border: 3px solid #eee;
    border-top: 3px solid #66b32e;
    border-radius: 50%;
    width: 14px;
    height: 14px;
    display: inline-block;
    margin-right: 6px;
    animation: spin 0.6s linear infinite;
}

@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}

/* dashboard */
#task-panel {

    background: white;
    padding: 10px;
    border-radius: 14px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

table{
    width: 100%;
}
/* 基本重置 */
#task-panel table {
    /* display: none; */
    /* width: 95%; */
    /* 表格宽度为100% */
    border-collapse: collapse;
    /* 边框合并 */
    /* margin: 1px 10px; */
    font-size: 14px;
    font-weight: normal;
    /* visibility: hidden; */
}

.status-pending {
    color: rgba(0, 81, 255, 0.815);
}

.status-failure {
    color: red;
}

.status-success {
    color: rgb(0, 150, 45);
}

.status {
    font-weight: bold;
}
/* 表格头部和单元格样式 */
#task-panel th {
    font-weight: normal;
}

#task-panel th,
#task-panel td {
    padding: 2px 5px;
    /* 内边距 */
    border: 1px solid #af3a3a;
    /* 边框 */
    text-align: left;
    /* 文本左对齐 */
    word-break: break-word;
    /* 允许在单词内换行 */
    word-wrap: break-word;
    /* 旧的写法，与 word-break: break-word; 相同 */
    overflow-wrap: break-word;
    /* 允许在单词内换行 */
    /* color: rgb(99, 99, 99); */
}

/* 设置每列的宽度 */
#task-panel th:nth-child(1),
#task-panel td:nth-child(1) {
    width: 10%;
}

#task-panel th:nth-child(2),
td:nth-child(2) {
    width: 10%;
}

#task-panel th:nth-child(3),
td:nth-child(3) {
    width: 50%;
}

#task-panel th:nth-child(4),
td:nth-child(4) {
    width: 22%;
}

#task-panel th:nth-child(5),
td:nth-child(5) {
    width: 8%;
}

#task-panel td:hover {
    background-color: #dedede;
}

/* #task-panel td:nth-child(4) {
    cursor: pointer;
} */
#task-panel td:nth-child(4) {
    cursor: pointer;
}

