/* SushiWP Monitor - Public/Shortcode Styles */

.sushiwp-btn {
    display: inline-block;
    padding: 11px 22px;
    background: #00b4b6;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    text-decoration: none;
}

.sushiwp-btn:hover    { background: #009a9c; color: #fff; }
.sushiwp-btn:disabled { background: #7dd3d4; cursor: not-allowed; }

.sushiwp-btn-sm { padding: 7px 14px; font-size: 13px; }

.sushiwp-btn-outline {
    background: transparent;
    border: 1px solid #00b4b6;
    color: #00b4b6;
}

.sushiwp-btn-outline:hover {
    background: #00b4b6;
    color: #fff;
}

/* Notices */
.sushiwp-notice {
    padding: 12px 16px;
    border-radius: 6px;
    font-size: 14px;
    margin-bottom: 16px;
}

.sushiwp-notice-success {
    background: #f0fdf4;
    color: #15803d;
    border: 1px solid #86efac;
}

.sushiwp-notice-error {
    background: #fef2f2;
    color: #b91c1c;
    border: 1px solid #fca5a5;
}

/* Status shortcode */
.sushiwp-status-wrap {
    width: 100%;
}

.sushiwp-status-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 20px;
    gap: 16px;
}

.sushiwp-site-info h2 {
    margin: 0 0 4px;
    font-size: 22px;
}

.sushiwp-site-info a {
    font-size: 13px;
    color: #666;
    text-decoration: none;
}

.sushiwp-site-info a:hover { color: #00b4b6; }

/* Status badge */
.sushiwp-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 20px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 24px;
    border: 2px solid;
}

.sushiwp-badge-up   { background: #f0fdf4; border-color: #86efac; color: #15803d; }
.sushiwp-badge-down { background: #fef2f2; border-color: #fca5a5; color: #b91c1c; }

.sushiwp-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    flex-shrink: 0;
}

.sushiwp-badge-up   .sushiwp-dot { background: #22c55e; box-shadow: 0 0 0 4px rgba(34,197,94,0.2); }
.sushiwp-badge-down .sushiwp-dot { background: #ef4444; box-shadow: 0 0 0 4px rgba(239,68,68,0.2); }

/* Stats grid */
.sushiwp-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin: 40px 0;
}

.sushiwp-stat {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 28px 20px;
    text-align: center;
}

.sushiwp-stat-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #6b7280;
    margin-bottom: 8px;
    font-weight: 500;
}

.sushiwp-stat-value {
    font-size: 32px;
    font-weight: 700;
    color: #00b4b6;
    line-height: 1;
}

/* Sections */
.sushiwp-section {
    margin-bottom: 32px;
}

.sushiwp-section h3 {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e5e7eb;
}

/* Uptime bar */
.sushiwp-uptime-bar {
    display: flex;
    gap: 2px;
    height: 36px;
    align-items: center;
    background: #f8fafc;
    padding: 6px;
    border-radius: 6px;
    border: 1px solid #e5e7eb;
    overflow-x: auto;
}

.sushiwp-tick {
    flex: 1;
    min-width: 4px;
    height: 22px;
    border-radius: 2px;
    transition: transform 0.15s;
    cursor: default;
}

.sushiwp-tick:hover     { transform: scaleY(1.15); }
.sushiwp-tick-up        { background: #22c55e; }
.sushiwp-tick-down      { background: #ef4444; }

.sushiwp-bar-legend {
    display: flex;
    justify-content: space-between;
    margin-top: 6px;
    font-size: 11px;
    color: #6b7280;
    padding: 0 4px;
}

/* Lists (incidents/updates) */
.sushiwp-list {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
}

.sushiwp-list-item {
    padding: 14px 16px;
    border-bottom: 1px solid #f3f4f6;
}

.sushiwp-list-item:last-child { border-bottom: none; }

.sushiwp-list-meta {
    font-size: 12px;
    color: #6b7280;
    margin-bottom: 3px;
}

.sushiwp-list-title { font-size: 14px; color: #1a1a1a; }
.sushiwp-list-sub   { font-size: 12px; color: #6b7280; font-family: monospace; }

/* Update items */
.sushiwp-update-item {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.sushiwp-age {
    font-size: 12px;
    color: #6b7280;
    margin-left: auto;
}

/* Responsive */
@media (max-width: 600px) {
    .sushiwp-stats-grid { grid-template-columns: 1fr; }
    .sushiwp-stat-value { font-size: 26px; }
    .sushiwp-status-header { flex-direction: column; }
    .sushiwp-update-item { flex-direction: column; align-items: flex-start; }
    .sushiwp-age { margin-left: 0; }
}

.sushiwp-section-intro { font-size: 14px; color: #4b5563; margin: -4px 0 12px; }
.sushiwp-update-kind   { font-size: 13px; color: #6b7280; }
