
/* Primal Networks Friendly Dark Theme Override */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap');

body {
    background-color: #0b0f1a !important;
    color: #e5e7eb !important;
    font-family: 'Inter', system-ui, -apple-system, sans-serif !important;
}

#ipsLayout_header header {
    background-color: #111827 !important;
    border-bottom: 1px solid #1f2937 !important;
}

.ipsNavBar_primary {
    background-color: #111827 !important;
    border-bottom: 1px solid #1f2937 !important;
}

.ipsNavBar_primary > ul > li > a {
    color: #9ca3af !important;
}

.ipsNavBar_primary > ul > li.ipsNavBar_active > a {
    color: #fff !important;
    background: #1f2937 !important;
    border-radius: 8px;
}

.ipsBox {
    background-color: #111827 !important;
    border: 1px solid #1f2937 !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06) !important;
}

.ipsWidget.ipsWidget_horizontal .ipsWidget_title, .ipsWidget.ipsWidget_vertical .ipsWidget_title {
    background: transparent !important;
    color: #fff !important;
    font-weight: 700 !important;
    border-bottom: 1px solid #1f2937 !important;
}

.ipsAreaBackground {
    background-color: #0b0f1a !important;
}

.ipsType_sectionTitle {
    color: #fff !important;
    border-bottom: 1px solid #1f2937 !important;
    background: #1f2937 !important;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}

a {
    color: #6366f1 !important; /* Indigo-500 from main site */
    text-decoration: none !important;
}

a:hover {
    color: #818cf8 !important; /* Indigo-400 */
}

/* Button styles */
.ipsButton_primary {
    background: #4f46e5 !important; /* Indigo-600 */
    border-color: #4f46e5 !important;
    border-radius: 9999px !important;
    color: #fff !important;
}

.ipsButton_primary:hover {
    background: #4338ca !important; /* Indigo-700 */
}

/* Friendly round avatars */
.ipsUserPhoto {
    border-radius: 50% !important;
}

/* Remove some of the "shine" or gradients typical of default themes */
* {
    text-shadow: none !important;
}

.ipsBox {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1) !important; /* Re-add soft shadow to boxes */
}

/* Fix specific areas to not be white */
.ipsAreaBackground_light {
    background-color: #111827 !important;
}

.ipsDataList {
    background-color: #111827 !important;
}

.ipsDataItem {
    border-bottom: 1px solid #1f2937 !important;
}

.ipsDataItem_subList, .ipsDataItem_lastPoster, .ipsDataItem_stats {
    color: #9ca3af !important;
}

.ipsBreadcrumb {
    color: #9ca3af !important;
}
