/* styles/_utilities.css - Helper & Utility Classes */

.text-link {
    color: var(--accent);
    text-decoration: none;
}

.text-link:hover {
    text-decoration: underline;
}

.hidden {
    display: none !important;
}

.empty-state {
    text-align: center;
    padding: 40px 24px;
    border-radius: 18px;
    background: var(--surface);
    border: 1px solid var(--border);
}

.empty-state .icon-large {
    display: block;
    font-size: 3rem;
    margin-bottom: 1rem;
}

.message-body {
    white-space: pre-wrap;
    line-height: 1.7;
    color: var(--text);
}

.mt-16 {
    margin-top: 16px;
}

.mt-20 {
    margin-top: 20px;
}

.action-summary {
    font-size: 1rem;
    color: var(--text);
}

.action-summary strong {
    color: var(--success);
}

.warning-text {
    color: var(--danger);
}

.empty-state .icon-large {
    font-size: 3rem;
}

/* Small spacing/utilities used by admin modules */
.mb-10 { margin-bottom: 10px; }

.mb-15 { margin-bottom: 15px; }

.mt-15 { margin-top: 15px; }

.w-140 { width: 160px; }

.w-120 { width: 160px; }

.wa-120 { width: 220px; display: inline-block; margin: 12px; }

.wa-120box { width: 20px; display: inline-block; margin: 12px; }

.img-sm { max-height: 40px; border-radius: 4px; vertical-align: middle; }

.img-icon { width: 32px; height: 32px; object-fit: cover; border-radius: 4px; }

.overflow-auto { overflow-y: auto; }

.mt-10 { margin-top: 10px; }

.mb-5 { margin-bottom: 5px; }

.max-h-100 { max-height: 100px; }

.d-block { display: block; }

.mb-3 { margin-bottom: 3px; }

.text-danger { color: var(--danger); }

.ml-10 { margin-left: 10px; }

.text-muted {
    color: var(--muted);
}

.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.card-actions {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.grid-cols-2,
.grid-cols-3 {
    display: grid;
    gap: 20px;
}

.grid-cols-2 {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.grid-cols-3 {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.hr-soft {
    margin: 40px 0;
    border: 0;
    border-top: 1px solid var(--border);
}

.progress-track {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 999px;
    overflow: hidden;
    width: 100%;
    max-width: 320px;
    height: 12px;
}

.progress-fill {
    background: var(--success);
    width: 0;
    height: 100%;
    transition: width 0.3s ease;
}

.card-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    flex-wrap: wrap;
}

.text-link {
    color: var(--accent);
    text-decoration: none;
}

.text-link:hover {
    text-decoration: underline;
}

.card-full {
    grid-column: 1 / -1;
}

.profile-container {
    padding: 28px;
}

.profile-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 24px;
}

.profile-card {
    padding: 22px;
}

.profile-summary {
    padding: 22px;
    margin-bottom: 24px;
}
