/* Wedding Bot Admin — Custom Styles */

:root {
    --sidebar-width: 240px;
    --primary-color: #6d4c41;
    --accent-color: #e91e8c;
}

/* Sidebar nav links */
.sidebar .nav-link {
    padding: 0.6rem 1.25rem;
    border-radius: 0;
    transition: background-color 0.15s ease;
    font-size: 0.925rem;
}

.sidebar .nav-link:hover {
    background-color: rgba(255, 255, 255, 0.08);
}

.sidebar .nav-link.active {
    background-color: rgba(255, 255, 255, 0.15);
    font-weight: 600;
}

/* Main content area */
main {
    background-color: #f8f9fa;
    min-height: 100vh;
}

/* Cards */
.card {
    border-radius: 0.75rem;
}

/* Stat cards on dashboard */
.card .display-5 {
    line-height: 1.1;
}

/* Table improvements */
.table th {
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: #6c757d;
}

/* Form controls — slightly rounder */
.form-control,
.form-select {
    border-radius: 0.5rem;
}

.btn {
    border-radius: 0.5rem;
}

/* Badge tweaks */
.badge {
    font-weight: 500;
}

/* Code elements */
code {
    background-color: #f0f0f0;
    padding: 0.1em 0.4em;
    border-radius: 4px;
    font-size: 0.875em;
    color: #d63384;
}

/* Blockquote in moderation */
blockquote.blockquote {
    border-left: 4px solid #dee2e6;
    padding-left: 1rem;
    color: #495057;
}

/* ─── Clicker game ─────────────────────────────────────────────────────────── */

.gora-img {
    display: block;
    object-fit: contain;
    image-rendering: pixelated;
    border-radius: 0.5rem;
    background-color: #f1f3f5;
}

/* Stand-in for a skin whose PNG has not been drawn yet */
.gora-img--missing {
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.75rem;
    color: var(--tier, #adb5bd);
    background-color: #f1f3f5;
    border: 2px dashed var(--tier, #ced4da);
}

.gora-thumb {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
}

.gora-card-img {
    width: 100%;
    aspect-ratio: 1 / 1;
}

.gora-card {
    border: 2px solid transparent;
    transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.gora-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1) !important;
}

.gora-card--claimed {
    border-color: var(--tier);
}

.gora-card--free {
    opacity: 0.72;
}

.tier-badge {
    color: #fff;
    background-color: var(--tier, #6c757d);
}

.tier-ring {
    box-shadow: 0 0 0 2px var(--tier, #ced4da);
    border-radius: 0.5rem;
}

.podium-place {
    font-size: 1.5rem;
    line-height: 1;
}

/* Mobile tweaks */
@media (max-width: 991.98px) {
    main {
        padding: 1rem !important;
    }
}

/* Sticky sidebar on large screens */
@media (min-width: 992px) {
    .sidebar {
        position: sticky;
        top: 0;
        height: 100vh;
        overflow-y: auto;
    }
}
