/* ============================================================
   Guides — Shared styles (My Guides, Guide Cards)
   ============================================================ */

/* --- My Guides Page --- */
.my-guides { max-width: 960px; margin: 0 auto; }
.my-guides__header {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 1.5rem;
}
.my-guides__title {
    font-size: 1.5rem; color: var(--gold, #c4a24e);
    text-transform: uppercase; letter-spacing: 0.06em;
}
.my-guides__loading { text-align: center; color: var(--text-dimmed); padding: 3rem 0; }

/* --- Guide Card (My Guides list) --- */
.guide-card {
    display: flex; align-items: center; gap: 1rem;
    padding: 1rem 1.25rem;
    background: var(--bg-panel, #13151a);
    border: 1px solid var(--border-panel, #252830);
    border-radius: var(--border-radius-lg, 8px);
    margin-bottom: 0.5rem;
    transition: border-color 0.15s;
}
.guide-card:hover { border-color: var(--gold-dark, #a37e2c); }

.guide-card__info { flex: 1; min-width: 0; }
.guide-card__title {
    font-weight: 700; color: var(--text-primary, #e0ddd5);
    font-size: 1rem; margin-bottom: 0.2rem;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.guide-card__meta {
    display: flex; flex-wrap: wrap; gap: 0.5rem;
    font-size: 0.82rem; color: var(--text-dimmed, #7a7870);
}

/* Status badges */
.guide-status {
    display: inline-block; padding: 0.12rem 0.5rem; border-radius: 4px;
    font-size: 0.72rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.03em;
}
.guide-status--draft     { background: rgba(148,163,184,0.15); color: #94a3b8; }
.guide-status--submitted { background: rgba(59,130,246,0.15); color: #60a5fa; }
.guide-status--in_review { background: rgba(168,85,247,0.15); color: #c084fc; }
.guide-status--published { background: rgba(34,197,94,0.2); color: #22c55e; }
.guide-status--rejected  { background: rgba(239,68,68,0.15); color: #f87171; }
.guide-status--archived  { background: rgba(100,116,139,0.15); color: #94a3b8; }

.guide-card__actions { display: flex; gap: 0.35rem; flex-shrink: 0; }
.guide-card__actions a, .guide-card__actions button {
    padding: 0.35rem 0.75rem; border-radius: var(--border-radius, 6px);
    font-size: 0.8rem; font-weight: 600; cursor: pointer;
    border: 1px solid var(--border-color, #2a2a35);
    background: transparent; color: var(--text-secondary, #b0ada5);
    text-decoration: none; font-family: var(--font-body);
    transition: all 0.15s;
}
.guide-card__actions a:hover, .guide-card__actions button:hover {
    border-color: var(--gold-dark); color: var(--gold);
}

/* Rejected feedback */
.guide-card__feedback {
    margin-top: 0.5rem; padding: 0.6rem 0.75rem;
    background: rgba(239,68,68,0.08); border: 1px solid rgba(239,68,68,0.2);
    border-radius: 6px; font-size: 0.85rem; color: #f87171;
}

/* Empty state */
.my-guides__empty {
    text-align: center; padding: 4rem 2rem; color: var(--text-dimmed);
}
.my-guides__empty p { margin-bottom: 1rem; }

@media (max-width: 768px) {
    .guide-card { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
    .guide-card__actions { width: 100%; }
}
