/* Batch Admin (mock) custom styles */

html, body { min-height: 100vh; }
body { background: #fafbfc; }

.main-columns {
    min-height: calc(100vh - 52px - 60px); /* navbar + footer */
}

.sidebar {
    background: #fff;
    border-right: 1px solid #e6e9ee;
    min-height: 100%;
}

.sidebar .menu-label {
    font-size: 0.72rem;
    letter-spacing: 0.05em;
    color: #8893a5;
    text-transform: uppercase;
    margin-top: 1.5rem;
}

.sidebar .menu-list a {
    padding: 0.4rem 0.6rem;
    border-radius: 4px;
    color: #2b3340;
}
.sidebar .menu-list a.is-active {
    background: #e8f1ff;
    color: #2860c8;
    font-weight: 600;
}

.main-content {
    background: #fafbfc;
}

.mock-footer {
    padding: 1rem;
    background: #f5f5f5;
}

/* job table */
.jobs-table tbody tr {
    cursor: pointer;
}
.jobs-table tbody tr:hover {
    background: #f5fafe;
}
.jobs-table .job-name {
    font-weight: 600;
    color: #1a2c4d;
}
.jobs-table .cron-cell {
    font-family: monospace;
    color: #6b7280;
    font-size: 0.85em;
}
.jobs-table .last-rc-fail {
    color: #c0392b;
}

/* details */
.detail-section {
    background: #fff;
    border: 1px solid #e6e9ee;
    border-radius: 6px;
    padding: 1.25rem 1.5rem;
    margin-bottom: 1rem;
}
.detail-section h3.title {
    font-size: 1rem;
    color: #2b3340;
    margin-bottom: 0.8rem;
    padding-bottom: 0.4rem;
    border-bottom: 1px solid #f0f2f5;
}

.kvs th {
    text-align: left;
    font-weight: 500;
    color: #6b7280;
    width: 200px;
    vertical-align: top;
}
.kvs td {
    color: #1f2937;
}

.param-key {
    font-family: monospace;
    color: #2b3340;
    font-size: 0.88em;
}
.param-type-secret input {
    font-family: monospace;
    background: #fff8e1;
}

.mermaid-mock {
    background: #f8fafc;
    border: 1px dashed #c8d1de;
    padding: 1.5rem;
    border-radius: 4px;
    font-family: monospace;
    white-space: pre-wrap;
    color: #475569;
    font-size: 0.85em;
}

.run-history-table td {
    font-size: 0.88em;
}
.run-history-table .run-rc-ok {
    color: #1f7a3f;
}
.run-history-table .run-rc-fail {
    color: #c0392b;
    font-weight: 600;
}

.login-card {
    max-width: 420px;
    margin: 6rem auto;
    padding: 2.5rem;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.login-card h1 {
    font-size: 1.4rem;
    text-align: center;
    margin-bottom: 0.5rem;
}
.login-card .subtitle {
    text-align: center;
    color: #6b7280;
    margin-bottom: 2rem;
}
.login-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0.8rem;
    margin-bottom: 0.7rem;
    border: 1px solid #d0d7e2;
    border-radius: 4px;
    background: #fff;
    color: #2b3340;
    cursor: pointer;
    font-size: 0.95rem;
}
.login-btn:hover {
    background: #f5fafe;
    border-color: #2860c8;
}
.login-btn .icon {
    margin-right: 0.6rem;
    font-size: 1.3em;
}
