/* Display Manager custom styles */

:root {
    --badge-green: #22c55e;
    --badge-grey: #6b7280;
}

/* Toast notifications */
.toast {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    padding: 0.75rem 1.25rem;
    border-radius: 0.5rem;
    color: #fff;
    font-size: 0.9rem;
    z-index: 9999;
    animation: slideIn 0.3s ease, fadeOut 0.5s ease 2.5s;
    opacity: 1;
}

.toast-success { background: #16a34a; }
.toast-error { background: #dc2626; }
.toast-info { background: #2563eb; }

@keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes fadeOut {
    to { opacity: 0; }
}

/* Status badges */
.badge {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.badge-green { background: var(--badge-green); color: #fff; }
.badge-grey { background: var(--badge-grey); color: #fff; }
.badge-source { background: #6366f1; color: #fff; margin-left: 0.5rem; }
.badge-user { background: #2563eb; color: #fff; }
.badge-theme { background: #7c3aed; color: #fff; }

/* Status card */
.status-active, .status-inactive {
    margin-bottom: 0.5rem;
}

#status-card blockquote {
    margin: 0.75rem 0;
    font-style: italic;
    white-space: pre-wrap;
}

.pir-stat-grid {
    margin-bottom: 0.5rem;
}

.pir-stat-grid > div {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.pir-stat-value {
    font-size: 2rem;
    line-height: 1.1;
}

/* Schedule items */
.schedule-item.inactive {
    opacity: 0.5;
}

.schedule-item header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.schedule-actions {
    display: flex;
    gap: 0.5rem;
    flex-shrink: 0;
}

.schedule-actions button {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    margin: 0;
}

/* Responsive table */
table {
    font-size: 0.9rem;
}

table td small {
    white-space: nowrap;
}
