/* MangaReader Auto-Update — Admin Styles */

.mau-wrap {
    max-width: 1100px;
}

.mau-subtitle {
    color: #555;
    font-size: 14px;
    margin-bottom: 24px;
}

/* Grid layout */
.mau-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
}

/* Card */
.mau-card {
    background: #fff;
    border: 1px solid #ccd0d4;
    border-radius: 4px;
    padding: 24px;
    box-shadow: 0 1px 3px rgba(0,0,0,.06);
}

.mau-grid .mau-card {
    flex: 1;
    min-width: 280px;
}

.mau-card h2 {
    margin-top: 0;
    padding-top: 0;
    font-size: 18px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
    margin-bottom: 18px;
}

/* Actions card */
.mau-card-actions {
    max-width: 320px;
}

.mau-sync-btn {
    margin-top: 8px;
    font-size: 15px !important;
    padding: 8px 24px !important;
    height: auto !important;
}

/* Status indicators */
.mau-status {
    margin-top: 16px;
    font-weight: 500;
    font-size: 13px;
}

.mau-status-ok {
    color: #2e7d32;
}

.mau-status-warn {
    color: #b45309;
}

/* Logs card */
.mau-logs-card {
    width: 100%;
    margin-top: 0;
}

.mau-logs-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.mau-logs-header h2 {
    margin: 0;
    padding: 0;
    border: none;
}

.mau-no-logs {
    color: #777;
    font-style: italic;
    text-align: center;
    padding: 24px 0;
}

/* Log table */
.mau-log-table-wrap {
    overflow-x: auto;
}

.mau-log-table {
    min-width: 600px;
}

.mau-log-table thead th {
    font-weight: 600;
}

.mau-log-message {
    max-width: 400px;
    word-break: break-word;
    color: #555;
    font-size: 12px;
}

/* Status badges */
.mau-badge {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .3px;
}

.mau-badge-success {
    background: #dcfce7;
    color: #166534;
}

.mau-badge-error {
    background: #fee2e2;
    color: #991b1b;
}

/* Row colorization */
.mau-log-error td {
    background-color: #fff8f8 !important;
}
