.sidebar-footer {
    padding: 12px;
    border-top: 1px solid var(--border);
    margin-top: auto;
}

.theme-unicorn .sidebar-footer {
    border-top-color: rgba(255, 255, 255, 0.1);
}

.user-profile-section {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    margin-bottom: 8px;
    background: rgba(0, 0, 0, 0.03);
    border-radius: 10px;
    transition: background 0.2s;
}

.user-profile-section:hover {
    background: rgba(0, 0, 0, 0.06);
}

.theme-unicorn .user-profile-section {
    background: rgba(255, 255, 255, 0.1);
}

.theme-unicorn .user-profile-section:hover {
    background: rgba(255, 255, 255, 0.15);
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--bg-tertiary);
    flex-shrink: 0;
    border: 2px solid var(--accent);
}

.user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avatar-placeholder-small {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent);
    color: white;
    font-weight: 600;
    font-size: 1rem;
}

.user-info {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.user-nickname {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.theme-unicorn .user-nickname {
    color: white;
}

.user-status-text {
    font-size: 0.75rem;
    color: #4ade80;
    display: flex;
    align-items: center;
    gap: 4px;
}

.user-status-text::before {
    content: "";
    width: 6px;
    height: 6px;
    background: #4ade80;
    border-radius: 50%;
}

.footer-actions {
    display: flex;
    gap: 8px;
    width: 100%;
    position: relative;
    font-family: "Quantico", sans-serif;
}

.settings-btn {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    background: transparent;
    border: none;
    border-radius: 6px;
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.2s;
    font-family: "Quantico", sans-serif !important;
}

.settings-btn:hover {
    background: var(--bg-tertiary);
    color: var(--text-primary);
}

.settings-btn .icon {
    font-size: 1.1rem;
}

.theme-toggle-btn {
    background: #1616160d;
    border: none;
    border-radius: 6px;
    padding: 10px;
    cursor: pointer;
    color: var(--text-secondary);
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
}

.theme-toggle-btn:hover {
    background: var(--border);
    color: var(--text-primary);
    transform: scale(1.05);
}

.theme-menu {
    position: absolute;
    bottom: 50px;
    left: 0;
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    padding: 6px;
    min-width: 160px;
    z-index: 2000;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.theme-menu-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.85rem;
    color: var(--text-primary);
    transition: background 0.2s;
}

.theme-menu-item:hover {
    background: var(--bg-tertiary);
}

.theme-menu-item.active {
    background: var(--bg-tertiary);
    font-weight: 500;
    color: var(--accent);
}

.theme-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.modern-dot {
    background: #60a5fa;
}

.unicorn-dot {
    background: var(--unicorn-color, #9333ea);
}

.theme-color-picker-container {
    padding: 12px;
    border-top: 1px solid var(--border);
    margin-top: 4px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.theme-color-label {
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.theme-color-picker {
    width: 40px;
    height: 32px;
    border: 1px solid var(--border);
    border-radius: 6px;
    cursor: pointer;
    background: transparent;
}
