```css
/*Old Style.css Contents for forum*/

/* Messages */
.error-message,
.success-message {
    padding: 12px 15px;
    margin-bottom: 15px;
    border-radius: 4px;
    display: flex;
    align-items: center;
}

.error-message {
    background-color: rgba(255, 60, 90, 0.1);
    border: 1px solid var(--danger-color);
    color: var(--danger-color);
}

.success-message {
    background-color: rgba(0, 211, 100, 0.1);
    border: 1px solid var(--success-color);
    color: var(--success-color);
}

.error-message::before,
.success-message::before {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.error-message::before {
    content: "\f071";
}

.success-message::before {
    content: "\f00c";
}

/* Buttons and forms */
.button, button, input[type="submit"] {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s;
}

.button:hover, button:hover, input[type="submit"]:hover {
    background-color: var(--secondary-color);
}

input[type="text"],
input[type="email"],
input[type="password"],
select,
textarea {
    background-color: var(--background-light);
    border: 1px solid var(--border-color);
    color: var(--text-light);
    padding: 10px;
    border-radius: 4px;
    width: 100%;
    font-size: 14px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
select:focus,
textarea:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 2px rgba(0, 113, 255, 0.2);
}

/* Forum styling */
.forum-container {
    margin-top: 20px;
}

.forum-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.forum-categories {
    margin-bottom: 20px;
}

.forum-category {
    background-color: var(--background-light);
    border-radius: 6px;
    margin-bottom: 15px;
    overflow: hidden;
}

.category-header {
    background-color: var(--primary-color);
    color: white;
    padding: 10px 15px;
    font-weight: bold;
}

.category-body {
    padding: 0;
}

.topic-list {
    width: 100%;
    border-collapse: collapse;
}

.topic-list td {
    padding: 12px 15px;
    border-bottom: 1px solid var(--border-color);
}

.topic-title {
    font-weight: bold;
    color: var(--text-light);
}

.topic-meta {
    color: var(--text-muted);
    font-size: 14px;
}

/* EVE Online inspired theme for Chronically Aphended */

:root {
    --primary-color: #0071ff;
    --secondary-color: #00aaff;
    --accent-color: #ffb400;
    --background-dark: #0a0e14;
    --background-medium: #1a1f2a;
    --background-light: #2a3040;
    --text-light: #ffffff;
    --text-muted: #a0a7b7;
    --border-color: #2a3346;
    --success-color: #00d364;
    --danger-color: #ff3c5a;
    --warning-color: #ff9c00;
}

/* Base layout */
body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    background-color: var(--background-dark);
    color: var(--text-light);
    font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

.site-wrapper {
    display: flex;
    min-height: 100vh;
    position: relative;
}

/* Sidebar navigation styling */
.nav-sidebar {
    background-color: var(--background-medium);
    width: 280px;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.5);
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    padding: 0;
    z-index: 100;
    transition: transform 0.3s ease;
    overflow-y: auto;
}

.nav-logo {
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
}

.nav-logo img {
    max-width: 80px;
    max-height: 80px;
    height: auto;
    width: auto;
}

.nav-logo h2 {
    margin: 10px 0 0;
    color: var(--text-light);
    font-size: 1.2rem;
    text-align: center;
}

.nav-menu {
    display: flex;
    flex-direction: column;
}

.nav-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-menu li {
    margin: 5px 0;
    padding: 3px 0;
}

.nav-menu a {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    color: var(--text-light);
    text-decoration: none;
    transition: background-color 0.2s;
    border-left: 3px solid transparent;
    font-weight: 500;
}

.nav-menu a:hover,
.nav-menu li.active > a {
    background-color: var(--background-light);
    border-left-color: var(--primary-color);
}

.nav-menu a i {
    margin-right: 10px;
    width: 20px;
    text-align: center;
    font-size: 16px;
    color: var(--secondary-color);
}

.submenu {
    margin-left: 10px !important;
    overflow: hidden;
    background-color: var(--background-dark);
}

.submenu a {
    padding-left: 30px;
}

.has-submenu > a::after {
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-left: auto;
    transition: transform 0.3s;
}

.has-submenu.active > a::after {
    transform: rotate(180deg);
}

/* Authentication section */
.auth-section {
    margin-top: auto;
    border-top: 1px solid var(--border-color);
    padding-top: 10px;
}

.user-info {
    display: flex;
    align-items: center;
    padding: 10px 20px;
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 10px;
    border: 2px solid var(--primary-color);
}

.username {
    font-weight: bold;
    color: var(--text-light);
}

.logout-btn,
.eve-login-btn {
    background-color: var(--primary-color);
    color: white;
    padding: 10px 15px;
    border-radius: 4px;
    margin: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s;
}

.logout-btn:hover,
.eve-login-btn:hover {
    background-color: var(--secondary-color);
}

.admin-link {
    color: var(--accent-color) !important;
}

/* Main content area */
.main-content {
    flex: 1;
    padding: 20px;
    margin-left: 280px;
    width: calc(100% - 280px);
    min-height: 100vh;
    background-color: var(--background-dark);
}

.content {
    background-color: var(--background-medium);
    border-radius: 6px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    min-height: 600px;
}

/* Page content styling */
.page-content {
    padding: 0 0 20px 0;
}

.page-title {
    color: var(--text-light);
    font-size: 28px;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 15px;
    margin-top: 0;
    margin-bottom: 20px;
}

.section-title {
    color: var(--primary-color);
    font-size: 24px;
    margin-top: 30px;
    margin-bottom: 20px;
    border-left: 4px solid var(--primary-color);
    padding-left: 10px;
}

/* News section */
.news-section {
    margin-top: 40px;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.news-card {
    background-color: var(--background-light);
    border-radius: 6px;
    padding: 20px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s, box-shadow 0.2s;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.news-card h3 {
    margin-top: 0;
    color: var(--secondary-color);
    font-size: 18px;
}

.news-date {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 10px;
}

.read-more {
    display: inline-block;
    margin-top: 10px;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
}

.read-more:hover {
    text-decoration: underline;
}

.news-article {
    background-color: var(--background-light);
    border-radius: 6px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
}

.news-article h2 {
    margin-top: 0;
    color: var(--secondary-color);
}

.news-content {
    margin-top: 15px;
}

/* Gallery styling */
.gallery-section {
    margin-top: 40px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.gallery-item {
    background-color: var(--background-light);
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s;
    cursor: pointer;
}

.gallery-item:hover {
    transform: scale(1.03);
}

.gallery-item img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

.gallery-caption {
    padding: 10px;
    background-color: rgba(26, 31, 42, 0.8);
    color: var(--text-light);
    font-size: 14px;
}

/* Image overlay */
.image-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.overlay-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

.overlay-content img {
    max-width: 100%;
    max-height: 90vh;
    display: block;
    border: 2px solid var(--primary-color);
}

.close-overlay {
    position: absolute;
    top: -40px;
    right: 0;
    background-color: var(--danger-color);
    color: white;
    width: 30px;
    height: 30px;
    border: none;
    border-radius: 50%;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
}

/* Killboard styling */
.killboard-container {
    padding: 0;
}

.killboard-title {
    color: var(--text-light);
    text-align: center;
    margin-bottom: 20px;
    font-size: 24px;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 10px;
}

.killboard-stats {
    display: flex;
    justify-content: space-around;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.stat-box {
    background-color: var(--background-light);
    border-radius: 4px;
    padding: 15px;
    text-align: center;
    min-width: 120px;
    margin: 5px;
    border: 1px solid var(--border-color);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.stat-value {
    display: block;
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color);
}

.stat-label {
    display: block;
    color: var(--text-muted);
    font-size: 14px;
    margin-top: 5px;
}

.killboard-table-container {
    overflow-x: auto;
}

.killboard-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.killboard-table th {
    background-color: var(--background-light);
    color: var(--text-light);
    padding: 12px 15px;
    text-align: left;
    font-weight: 600;
    border-bottom: 2px solid var(--primary-color);
}

.killboard-table td {
    padding: 12px 15px;
    border-bottom: 1px solid var(--border-color);
}

.killboard-table tr:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

.kill-row {
    background-color: rgba(0, 211, 100, 0.1);
}

.loss-row {
    background-color: rgba(255, 60, 90, 0.1);
}

.awox-row {
    background-color: rgba(255, 156, 0, 0.1);
}

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

.kb-zkill-link img {
    transition: transform 0.2s;
}

.kb-zkill-link:hover img {
    transform: scale(1.2);
}

/* Messages */
.error-message,
.success-message {
    padding: 12px 15px;
    margin-bottom: 15px;
    border-radius: 4px;
    display: flex;
    align-items: center;
}

.error-message {
    background-color: rgba(255, 60, 90, 0.1);
    border: 1px solid var(--danger-color);
    color: var(--danger-color);
}

.success-message {
    background-color: rgba(0, 211, 100, 0.1);
    border: 1px solid var(--success-color);
    color: var(--success-color);
}

.error-message::before,
.success-message::before {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.error-message::before {
    content: "\f071";
}

.success-message::before {
    content: "\f00c";
}

/* Buttons and forms */
.button, button, input[type="submit"] {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s;
}

.button:hover, button:hover, input[type="submit"]:hover {
    background-color: var(--secondary-color);
}

input[type="text"],
input[type="email"],
input[type="password"],
select,
textarea {
    background-color: var(--background-light);
    border: 1px solid var(--border-color);
    color: var(--text-light);
    padding: 10px;
    border-radius: 4px;
    width: 100%;
    font-size: 14px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
select:focus,
textarea:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 2px rgba(0, 113, 255, 0.2);
}

/* Footer styling */
.footer {
    background-color: var(--background-light);
    padding: 20px;
    margin-top: 40px;
    border-top: 1px solid var(--border-color);
    text-align: center;
    margin-left: 280px;
    width: calc(100% - 320px);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.copyright {
    color: var(--text-muted);
    font-size: 14px;
}

/* Mobile toggle button */
.nav-sidebar-toggle {
    display: none;
    position: fixed;
    top: 15px;
    left: 15px;
    z-index: 1000;
    background-color: var(--primary-color);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 4px;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

/* Page content elements */
.page-content p {
    color: var(--text-light);
    margin-bottom: 15px;
}

.page-content h1, .page-content h2, .page-content h3, .page-content h4 {
    color: var(--secondary-color);
    margin-top: 25px;
    margin-bottom: 15px;
}

.page-content a {
    color: var(--primary-color);
    text-decoration: none;
}

.page-content a:hover {
    text-decoration: underline;
}

.page-content ul, .page-content ol {
    padding-left: 25px;
    margin-bottom: 15px;
}

.page-content table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.page-content table th, .page-content table td {
    padding: 10px;
    border: 1px solid var(--border-color);
}

.page-content table th {
    background-color: var(--background-light);
}

.page-content img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
}

.page-content blockquote {
    border-left: 4px solid var(--primary-color);
    padding-left: 15px;
    margin-left: 0;
    color: var(--text-muted);
    font-style: italic;
}

/* Image groups in content */
.page-content .image-group {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
}

.page-content .image-group img {
    flex: 1;
    min-width: 200px;
    max-width: 300px;
    object-fit: cover;
}

/* CMS-generated content */
.page-content [class^="cms-"] {
    margin-bottom: 20px;
}

/* Responsive design */
@media (max-width: 992px) {
    .nav-sidebar {
        transform: translateX(-100%);
        width: 260px;
    }

    .nav-sidebar.active {
        transform: translateX(0);
    }

    .nav-sidebar-toggle {
        display: block;
    }

    .main-content {
        margin-left: 0;
        width: 100%;
        padding-top: 60px;
    }

    .footer {
        margin-left: 0;
        width: calc(100% - 40px);
    }

    .news-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }

    .killboard-stats .stat-box {
        flex: 0 0 45%;
        margin-bottom: 10px;
    }
}

@media (max-width: 576px) {
    .killboard-stats .stat-box {
        flex: 0 0 100%;
    }

    .footer-content {
        flex-direction: column;
        gap: 15px;
    }
}
/* Add these styles at the very bottom of your custom.css file */

/* IMPORTANT: Force sidebar background */
.nav-sidebar {
    background-color: var(--background-medium) !important;
    position: fixed !important;
    height: 100% !important;
    width: 280px !important;
    left: 0 !important;
    top: 0 !important;
    z-index: 1000 !important;
    overflow-y: auto !important;
}

/* Force logo size reduction */
.nav-logo img {
    max-width: 80px !important;
    max-height: 80px !important;
    width: auto !important;
    height: auto !important;
}

/* Ensure content has proper margin */
.main-content {
    margin-left: 280px !important;
    width: calc(100% - 280px) !important;
}

/* Mobile adjustments */
@media (max-width: 992px) {
    .nav-sidebar {
        transform: translateX(-100%) !important;
    }

    .nav-sidebar.active {
        transform: translateX(0) !important;
    }

    .main-content {
        margin-left: 0 !important;
        width: 100% !important;
    }
}
/* Update the hamburger menu button - add this at the end of your custom.css file */
.nav-sidebar-toggle {
    display: none;
    position: fixed;
    top: 15px;
    left: 15px;
    z-index: 1000;
    background-color: var(--primary-color);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 4px;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
    font-size: 16px;
    line-height: 40px;
    text-align: center;
    padding: 0;
}

.nav-sidebar-toggle:hover {
    background-color: var(--secondary-color);
}

@media (max-width: 992px) {
    .nav-sidebar-toggle {
        display: block;
    }
}
/* Add this to the end of your custom.css file */
/* Override for content background */
.content {
    background-color: var(--background-medium) !important;
    border-radius: 6px !important;
    padding: 20px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2) !important;
    min-height: 600px !important;
    color: var(--text-light) !important;
}

/* Additional override for forum container */
.forum-container {
    background-color: var(--background-medium) !important;
    color: var(--text-light) !important;
}

/* Make sure all text in content area is properly colored */
.content p, .content li, .content div {
    color: var(--text-light);
}

/* Ensure table backgrounds are dark */
.content table, .forum-table {
    background-color: var(--background-medium) !important;
}

.content table th, .forum-table th {
    background-color: var(--background-light) !important;
}

/* Fix any light-colored form elements */
.content input, .content textarea, .content select,
.forum-container input, .forum-container textarea, .forum-container select {
    background-color: var(--background-light) !important;
    color: var(--text-light) !important;
    border: 1px solid var(--border-color) !important;
}
/* Enhanced Forum Styling */
.forum-container {
    margin: 0 auto;
    max-width: 1200px;
}

.forum-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    border-bottom: 2px solid #0071ff;
    padding-bottom: 15px;
}

.forum-title {
    font-size: 28px;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    margin: 0;
    display: flex;
    align-items: center;
}

.forum-title i {
    color: #00aaff;
    margin-right: 10px;
}

.forum-actions {
    display: flex;
    gap: 10px;
}

.forum-button {
    background: linear-gradient(135deg, #0071ff, #0055cc);
    color: white;
    padding: 10px 15px;
    border-radius: 4px;
    border: none;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    text-decoration: none;
}

.forum-button:hover {
    background: linear-gradient(135deg, #0084ff, #0066ee);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    transform: translateY(-2px);
    text-decoration: none;
}

.forum-button i {
    margin-right: 8px;
}

/* Category cards */
.forum-category-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.forum-category-card {
    background-color: #1a1f2a;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    border: 1px solid #2a3346;
}

.forum-category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    border-color: #0071ff;
}

.forum-category-header {
    background: linear-gradient(135deg, #1a1f2a, #2a3040);
    padding: 15px 20px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #2a3346;
}

.forum-category-icon {
    background: #0071ff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    box-shadow: 0 2px 8px rgba(0, 113, 255, 0.4);
}

.forum-category-icon i {
    font-size: 20px;
    color: white;
}

/* Fix for forum category title */
.forum-category-title {
    margin: 0;
    font-size: 18px;
    color: var(--text-light) !important;
    font-weight: 600;
    text-decoration: none;
}

.forum-category-title a {
    color: var(--text-light) !important;
    text-decoration: none;
    transition: color 0.2s;
}

.forum-category-title a:hover {
    color: var(--primary-color) !important;
    text-decoration: none;
}

/* Additional forum style fixes */
.forum-category-description {
    color: var(--text-muted) !important;
    font-size: 14px;
    margin-top: 5px;
}

.forum-category-stats {
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    border-top: 1px solid var(--border-color);
    background-color: rgba(0, 0, 0, 0.15);
}

.forum-category-count {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.forum-category-count span {
    font-size: 16px;
    font-weight: bold;
    color: var(--primary-color);
}

.forum-category-count small {
    color: var(--text-muted);
    font-size: 12px;
}

.forum-category-content {
    padding: 15px 20px;
}

/* Make sure all forum elements follow the dark theme */
.forum-topic-list td,
.forum-post-content,
.forum-breadcrumb,
.forum-pagination a {
    color: var(--text-light) !important;
}

.forum-topic-info {
    color: var(--text-muted) !important;
}

.forum-table th {
    background-color: var(--background-light) !important;
    color: var(--text-light) !important;
}

.forum-table tr:hover {
    background-color: rgba(255, 255, 255, 0.05) !important;
}

/* Style forum topic list */
.forum-topic-list {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

.forum-topic-list th {
    background-color: var(--background-light);
    color: var(--text-light);
    padding: 12px 15px;
    text-align: left;
}

.forum-topic-list td {
    padding: 12px 15px;
    border-bottom: 1px solid var(--border-color);
}

.forum-topic-title {
    font-weight: 600;
}

.forum-topic-title a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.2s;
}

.forum-topic-title a:hover {
    color: var(--primary-color);
}

.sticky-topic {
    background-color: rgba(0, 113, 255, 0.1);
}

.locked-topic {
    opacity: 0.7;
}
/* Profile Page Styling */
.profile-container {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 25px;
    margin-top: 20px;
}

/* Profile Sidebar */
.profile-sidebar {
    position: relative;
}

.profile-card {
    background-color: var(--background-light);
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
    position: sticky;
    top: 20px;
}

.profile-header {
    background: linear-gradient(135deg, #0071ff, #00448c);
    padding: 15px;
    text-align: center;
}

.profile-header h2 {
    margin: 0;
    color: white;
    font-size: 20px;
    letter-spacing: 0.5px;
}

.profile-body {
    padding: 20px;
}

.character-portrait {
    text-align: center;
    margin-bottom: 20px;
}

.character-portrait img {
    width: 200px;
    height: 200px;
    border-radius: 6px;
    border: 3px solid var(--primary-color);
    box-shadow: 0 3px 15px rgba(0, 113, 255, 0.3);
}

.character-details {
    margin-top: 15px;
}

.detail-item {
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
}

.detail-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.detail-label {
    font-weight: bold;
    color: var(--text-muted);
    display: block;
    margin-bottom: 3px;
}

.detail-value {
    color: var(--text-light);
    font-size: 16px;
}

/* Profile Main Content */
.profile-main {
    background-color: var(--background-medium);
    border-radius: 6px;
    padding: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
}

/* Tabs */
.profile-tabs {
    position: relative;
}

.tab-nav {
    display: flex;
    border-bottom: 2px solid var(--border-color);
    margin-bottom: 20px;
}

.tab-button {
    background: none;
    border: none;
    padding: 12px 20px;
    color: var(--text-light);
    cursor: pointer;
    font-size: 16px;
    position: relative;
    transition: 0.2s all;
}

.tab-button:hover {
    color: var(--primary-color);
    background-color: rgba(0, 113, 255, 0.05);
}

.tab-button.active {
    color: var(--primary-color);
    font-weight: bold;
}

.tab-button.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
}

.tab-content {
    position: relative;
    min-height: 300px;
}

.tab-pane {
    display: none;
    opacity: 0;
    transition: opacity 0.3s;
}

.tab-pane.active {
    display: block;
    opacity: 1;
}

/* Activity List */
.activity-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.activity-item {
    background-color: var(--background-light);
    border-radius: 4px;
    padding: 15px;
    margin-bottom: 10px;
    border-left: 3px solid var(--primary-color);
}

.activity-description {
    color: var(--text-light);
    margin-bottom: 5px;
}

.activity-date {
    color: var(--text-muted);
    font-size: 14px;
}

/* Helper messages */
.info-message {
    background-color: rgba(0, 113, 255, 0.1);
    border: 1px solid var(--primary-color);
    color: var(--text-light);
    padding: 15px;
    border-radius: 4px;
    display: flex;
    align-items: center;
}

.info-message::before {
    content: "\f05a";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
    color: var(--primary-color);
}

/* Responsive design */
@media (max-width: 992px) {
    .profile-container {
        grid-template-columns: 1fr;
    }

    .profile-card {
        position: static;
    }
}

/* Skill Queue in Profile Page */
.skill-queue-summary {
    margin-top: 15px;
    padding: 15px;
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 4px;
    border: 1px solid var(--border-color);
}

.skill-queue-item {
    margin-bottom: 12px;
}

.skill-queue-item:last-child {
    margin-bottom: 0;
}

.skill-name {
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 4px;
}

.skill-details {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: var(--text-muted);
}

.skill-level {
    color: var(--primary-color);
}

.skill-progress-bar {
    height: 6px;
    background-color: var(--background-dark);
    border-radius: 3px;
    margin-top: 5px;
    overflow: hidden;
}

.skill-progress-fill {
    height: 100%;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    border-radius: 3px;
    transition: width 0.3s ease;
}

.queue-time-remaining {
    text-align: center;
    margin-top: 10px;
    font-size: 13px;
    color: var(--text-muted);
    border-top: 1px solid var(--border-color);
    padding-top: 8px;
}
/* Add this to your custom.css file */

/* Tab styling */
.profile-tabs {
    margin-bottom: 20px;
    border-bottom: 1px solid #dee2e6;
}

.profile-tabs .nav-link {
    border: 1px solid transparent;
    border-top-left-radius: 0.25rem;
    border-top-right-radius: 0.25rem;
    margin-bottom: -1px;
    padding: 0.5rem 1rem;
    color: #007bff;
    text-decoration: none;
    cursor: pointer;
}

.profile-tabs .nav-link:hover {
    border-color: #e9ecef #e9ecef #dee2e6;
}

.profile-tabs .nav-link.active {
    color: #495057;
    background-color: #fff;
    border-color: #dee2e6 #dee2e6 #fff;
}

/* Tab content styling */
.tab-content > .tab-pane {
    display: none;
}

.tab-content > .active {
    display: block;
}

/* Skill queue styling */
.skill-queue-summary {
    margin-top: 20px;
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: 5px;
}

.queue-list {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.queue-item {
    display: flex;
    justify-content: space-between;
    padding: 5px 0;
    border-bottom: 1px solid #e9ecef;
}

.queue-item:last-child {
    border-bottom: none;
}

.queue-time {
    color: #6c757d;
    font-size: 0.9em;
}

.queue-total {
    margin-top: 10px;
    font-style: italic;
    color: #6c757d;
}

/* Skills tab styling */
.skills-container {
    margin-top: 15px;
}

.skill-category {
    margin-bottom: 10px;
    border: 1px solid #dee2e6;
    border-radius: 5px;
    overflow: hidden;
}

.skill-category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    background-color: #f8f9fa;
    cursor: pointer;
}

.skill-category-header h4 {
    margin: 0;
    font-size: 1.1rem;
}

.skill-list {
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.skill-list.show {
    max-height: 5000px; /* Large enough to show all content */
}

.skill-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 15px;
    border-top: 1px solid #dee2e6;
}

.skill-name {
    flex: 1;
}

.skill-level {
    flex: 0 0 80px;
    text-align: center;
}

.skill-points {
    flex: 0 0 120px;
    text-align: right;
}
/* Skills section styling */
.skills-container {
    margin-top: 20px;
}

.skill-category {
    margin-bottom: 15px;
    border: 1px solid #dee2e6;
    border-radius: 0.25rem;
}

.skill-category-header {
    background-color: #f8f9fa;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 0.25rem;
}

.skill-category-header:hover {
    background-color: #e9ecef;
}

.skill-item {
    padding: 8px 15px;
    border-top: 1px solid #f0f0f0;
}

.skill-name {
    font-weight: 500;
}

.skill-level {
    color: #007bff;
    font-weight: 500;
}

.skill-points {
    color: #6c757d;
    font-size: 0.9em;
}

.skills-summary {
    background-color: #e9f7fe;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
}

.view-details {
    display: inline-block;
    background-color: var(--primary-color);
    color: #ffffff !important; /* Force white text color */
    padding: 8px 15px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 14px;
    transition: background-color 0.3s;
}

.view-details:hover {
    background-color: var(--secondary-color);
    color: #ffffff !important; /* Keep text white on hover */
}