/* === Murikual Identity Admin (app-specific overrides) === */

/* Identity uses a different main content layout (no sticky header) */
.main-content {
    padding: 2rem;
    min-width: 0;
}

.content-header {
    background: transparent;
    border-bottom: none;
    padding: 0;
    position: static;
    margin-bottom: 1.5rem;
}

.content-header h1 {
    font-size: 1.5rem;
    margin: 0 0 0.25rem;
}

.subtitle {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin: 0;
}

.breadcrumb {
    margin-top: 0.25rem;
}

.breadcrumb .separator {
    margin: 0 0.375rem;
    color: var(--border);
}

/* Identity stats grid variant */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

/* Identity-specific sidebar footer */
.logout-btn {
    width: 100%;
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: inherit;
}

/* Identity button extras */
.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-primary:hover:not(:disabled) {
    background: var(--accent-hover);
    border-color: var(--accent-hover);
    color: #fff;
}

.btn-secondary:hover:not(:disabled) {
    background: var(--content-bg);
    color: var(--text);
}

.btn-danger {
    background: var(--red);
    color: #fff;
    border-color: var(--red);
}

.btn-danger:hover:not(:disabled) {
    background: #b91c1c;
    border-color: #b91c1c;
    color: #fff;
}

/* Success alert (Identity-specific) */
.alert-success {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #166534;
    padding: 0.75rem 1rem;
    border-radius: 6px;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}


/* Recommended badge */
.badge-recommended {
    display: inline-block;
    font-size: 0.6875rem;
    font-weight: 500;
    color: #166534;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 4px;
    padding: 0.0625rem 0.375rem;
    margin-left: 0.375rem;
    vertical-align: middle;
    line-height: 1.4;
}

/* Section description text */
.section-desc {
    color: var(--text-secondary);
    font-size: 0.8125rem;
    margin: -0.25rem 0 0.75rem;
    line-height: 1.5;
}

/* Audit log event badges */
.badge-event {
    display: inline-block;
    font-size: 0.6875rem;
    font-weight: 500;
    padding: 0.125rem 0.5rem;
    border-radius: 4px;
    line-height: 1.4;
    white-space: nowrap;
}

.badge-success {
    color: #166534;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
}

.badge-danger {
    color: #991b1b;
    background: #fef2f2;
    border: 1px solid #fecaca;
}

.badge-warning {
    color: #92400e;
    background: #fffbeb;
    border: 1px solid #fde68a;
}

.badge-info {
    color: #1e40af;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
}

/* Identity mobile overrides */
@media (max-width: 768px) {
    .main-content {
        padding: 1rem;
        padding-top: 0;
    }

    .mobile-header {
        padding: 0.75rem 0;
        margin-bottom: 0.5rem;
        background: transparent;
        border-bottom: none;
        position: static;
    }
}
