/**
 * Cron / Crontab 工具页专用样式（index.html、crontab.html）
 * 不加载 course.css，避免全局 ul/li 规则污染 EasyUI tabs
 */

.cron-page .my-class {
    font-size: .88rem;
    color: #333;
    margin-top: 0;
    padding: 0 30px 16px;
    border-radius: 12px 12px 4px 4px;
    background-color: #fff;
}

@media screen and (max-width: 640px) {
    .cron-page .my-class {
        padding-left: 14px;
        padding-right: 14px;
        padding-bottom: 12px;
        box-sizing: border-box;
    }
}

body.site-width-legacy.cron-page .my-class h3 {
    margin-top: 1.35rem;
    margin-bottom: 0.5rem;
}

body.site-width-legacy.cron-page .my-class > .tool-recent-use .tool-recent-use-title,
body.site-width-legacy.cron-page .my-class > .tool-footer-nav .tool-footer-nav-title {
    margin: 0;
    line-height: 1.35;
}

body.site-width-legacy.cron-page .my-class h3:first-of-type {
    margin-top: 0;
}

body.site-width-legacy.cron-page .my-class h4 {
    margin-top: 0.85rem;
    margin-bottom: 0.35rem;
    font-weight: 600;
}

body.site-width-legacy.cron-page .my-class p {
    margin-top: 0;
    margin-bottom: 0.45rem;
    line-height: 1.65;
}

body.site-width-legacy.cron-page .my-class .tool-info ul,
body.site-width-legacy.cron-page .my-class .tool-info ol {
    margin-top: 8px;
    margin-bottom: 18px;
}

.main-three-part-grid-container .nav-top-menu-wrapper {
    margin-bottom: 0;
    background-color: #fff;
}

/* EasyUI tabs：与 course.css 全局 list 样式隔离 */
.cron-page .tool-form-cron ul.tabs {
    background: transparent;
    padding: 0 0 0 4px;
    margin: 0;
    overflow: visible;
    border-radius: 0;
    list-style: none;
}

.cron-page .tool-form-cron .tabs li {
    display: inline-block;
    height: auto;
    float: left;
}

.cron-page .tool-form-cron .tabs-panels {
    border-color: transparent;
}

.cron-page .tool-form-cron .tabs li:not(.tabs-selected) a.tabs-inner {
    border-color: transparent;
    background: transparent;
    filter: none;
    color: #3273f6;
}

.cron-page .tool-form-cron .tabs li:not(.tabs-selected) a.tabs-inner:hover {
    color: #1959d8;
}

.cron-page .tool-form-cron .tabs li.tabs-selected a.tabs-inner {
    background: #fff;
    border-color: #d4d4d4;
    border-bottom-color: #fff;
    color: #777;
}

.cron-page .my-class > .tool-recent-use {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 12px;
    width: 100%;
    box-sizing: border-box;
    margin-top: 2rem;
    margin-bottom: 0;
    padding-top: 1.25rem;
    padding-bottom: 0.75rem;
    border-top: 1px solid #e8e8e8;
    border-bottom: 1px solid #e8e8e8;
}

.cron-page .my-class > .tool-recent-use .tool-recent-use-list {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px 8px;
    overflow: visible;
}

.cron-page .my-class > .tool-recent-use .tool-recent-use-list a {
    white-space: nowrap;
}

.cron-page .my-class > .tool-recent-use .tool-recent-use-list,
.cron-page .my-class > .tool-footer-nav .tool-footer-nav-links {
    overflow: visible;
}

.cron-page .my-class > .tool-footer-nav .tool-footer-nav-links {
    align-items: start;
}

.cron-page .my-class > .tool-footer-nav .tool-footer-nav-links a {
    white-space: nowrap;
}

.cron-page .my-class > .tool-recent-use .tool-recent-use-list li,
.cron-page .my-class > .tool-footer-nav .tool-footer-nav-links li {
    height: auto;
}

.cron-page .my-class > .tool-recent-use + .tool-footer-nav {
    margin-top: 1rem;
    padding-top: 0;
    border-top: none;
}
