/* General Body Styles */
body.bg-black {
    background-color: #000 !important;
    font-family: 'Inter', sans-serif;
}

/* Sidebar Styles */
.sidebar {
    background-color: #1a1a1a;
    border-right: 1px solid #333;
}

.sidebar-footer i {
    transition: color 0.2s ease-in-out;
}

.sidebar-footer a:hover i {
    color: #ffc107 !important; /* Bootstrap warning yellow */
}

/* Main Content Area */
#main-content {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: background-image 0.5s ease-in-out;
}

/* Top Right Controls */
.top-right-controls {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    z-index: 10;
}

/* Badge Container Styles */
.badge-container {
    border: 1px solid #444;
    transition: opacity 0.3s ease-in-out;
    background-color: rgba(33, 37, 41, 0.85); /* Semi-transparent background */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px); /* For Safari */
    max-height: 95%;
    overflow-y: auto;
    /* Ensure all default text inside the card is light */
    color: #f8f9fa;
}

.badge-header {
    cursor: pointer;
    background-color: transparent !important;
    border-bottom: 1px solid #444;
}

.header-overlay {
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 100%);
    padding: 1rem;
    border-radius: var(--bs-card-inner-border-radius);
}

.card-body, .card-footer {
     background-color: transparent !important;
}

.attribute-item {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.attribute-value {
    flex-grow: 1;
}

/* Specifically style the bio text */
#profile p {
    color: #ced4da; /* A slightly softer grey for long text */
}


/* Custom Badge Color Classes */
.badge-property {
    background-color: #212529 !important; /* Bootstrap Dark Grey */
    color: #f8f9fa !important;
}

.text-value {
    color: #adb5bd; /* Bootstrap's light/secondary text color */
}

.badge-value-info { background-color: var(--bs-info) !important; }
.badge-value-secondary { background-color: var(--bs-secondary) !important; }
.badge-value-warning { background-color: var(--bs-warning) !important; }
.badge-value-danger { background-color: var(--bs-danger) !important; }
.badge-value-success { background-color: var(--bs-success) !important; }
.badge-value-default { background-color: var(--bs-primary) !important; }


/* Element Specific Colors */
.badge-element-fire { background-color: #dc3545 !important; } /* Red */
.badge-element-earth { background-color: #198754 !important; } /* Green */
.badge-element-water { background-color: #0d6efd !important; } /* Blue */
.badge-element-air { background-color: #f8f9fa !important; color: #000 !important; } /* White */
.badge-element-nature { background-color: #28a745 !important; } /* Brighter Green */
.badge-element-electricity { background-color: #ffc107 !important; } /* Yellow */
.badge-element-spirit { background-color: #0dcaf0 !important; } /* Cyan */
.badge-element-mind { background-color: #6f42c1 !important; } /* Indigo */
.badge-element-dark { background-color: #343a40 !important; } /* Dark */
.badge-element-light { background-color: #e9ecef !important; color: #000 !important; } /* Light Grey */


/* NEW STYLES for Dropdown Menu */
.sidebar .dropdown-menu {
    background-color: #212529; /* Dark background to match theme */
    border: 1px solid #444;
}

.sidebar .dropdown-item {
    color: #f8f9fa; /* Light text for readability */
}

.sidebar .dropdown-item:hover,
.sidebar .dropdown-item:focus {
    background-color: #0d6efd; /* Bootstrap primary blue for hover */
    color: #fff;
}
