/* Minimal stand-ins for what wp-admin.css used to provide for free.
   This app no longer loads WordPress's admin stylesheet or the Dashicons
   font, so anything the original markup borrowed from those needs a
   replacement here. Kept deliberately plain. */

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: #1d2327;
    background: #f0f0f1;
    margin: 0;
}

.wrap { margin: 1.5rem; }

.zs-topbar {
    background: #1d2327;
    color: #fff;
    padding: .6rem 1.5rem;
    display: flex;
    gap: 1.5rem;
    align-items: center;
    font-size: .9rem;
}
.zs-topbar a { color: #72aee6; text-decoration: none; }
.zs-topbar a:hover { text-decoration: underline; }

.zs-domain-switch { display: inline; }
.zs-domain-switch select {
    background: #2c3338;
    color: #fff;
    border: 1px solid #50575e;
    border-radius: 3px;
    padding: .2rem .4rem;
    font-size: .9rem;
}

.button {
    display: inline-block;
    border: 1px solid #2271b1;
    background: #f6f7f7;
    color: #2271b1;
    padding: .4rem .9rem;
    border-radius: 3px;
    cursor: pointer;
    font-size: .9rem;
    text-decoration: none;
}
.button-primary {
    background: #2271b1;
    border-color: #2271b1;
    color: #fff;
}
.button-large { padding: .6rem 1.2rem; font-size: 1rem; }
.page-title-action { margin-left: 1rem; font-size: .85rem; }

.hide { display: none !important; }

.wp-list-table {
    border-collapse: collapse;
    width: 100%;
    background: #fff;
}
.wp-list-table th, .wp-list-table td {
    border-bottom: 1px solid #c3c4c7;
    padding: .6rem .8rem;
    text-align: left;
}
.wp-list-table.striped tr:nth-child(odd) { background: #f6f7f7; }

/* Replaces dashicons-trash / dashicons-thumbs-up / dashicons-info-outline,
   which came from the WP-bundled icon font and aren't available here. */
.icon-delete::before { content: "✕"; }
.icon-done::before { content: "✓ "; }
.icon-info::before { content: "ⓘ"; }

/* --- Ported verbatim from the WordPress plugin's wp_add_inline_style() block --- */

.zs-tooltip {
    position: relative;
    display: inline-block;
    margin-left: 6px;
    cursor: help;
}

.zs-tooltip .icon-info {
    font-size: 16px;
    color: #2271b1;
    vertical-align: middle;
}

.zs-tooltip-content {
    display: none;
    position: absolute;
    left: 22px;
    top: -5px;
    background: #1d2327;
    color: #fff;
    padding: 8px 10px;
    border-radius: 4px;
    font-size: 12px;
    line-height: 1.4;
    white-space: nowrap;
    z-index: 9999;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.zs-tooltip:hover .zs-tooltip-content {
    display: block;
}

.pdf-status {
    display: inline-block;
    border-radius: 5px;
    color: #f1f1f1;
    text-align: center;
    padding: 2px 5px 2px 5px;
}
.pending { background-color: #ffd166; color: #777; }
.done { background-color: #0077b6; }
.processing { background-color: #bde0fe; color: #333; }
.failed { background-color: #e53935; }
.done a { color: #f1f1f1; }
.deleted { background-color: #94d2bd; }
